summaryrefslogtreecommitdiffstats
path: root/src/qalculateinsertmatrixvectordialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateinsertmatrixvectordialog.cpp')
-rw-r--r--src/qalculateinsertmatrixvectordialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qalculateinsertmatrixvectordialog.cpp b/src/qalculateinsertmatrixvectordialog.cpp
index 07835aa..d8791e9 100644
--- a/src/qalculateinsertmatrixvectordialog.cpp
+++ b/src/qalculateinsertmatrixvectordialog.cpp
@@ -170,7 +170,7 @@ void QalculateInsertMatrixVectorDialog::slotOk() {
TQString str2 = elementsTable->text(index_r, index_c).stripWhiteSpace();
if(!str2.isEmpty()) {
if(b) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b = true;
@@ -186,7 +186,7 @@ void QalculateInsertMatrixVectorDialog::slotOk() {
bool b1 = false;
for(int index_r = 0; index_r < r; index_r++) {
if(b1) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b1 = true;
@@ -195,7 +195,7 @@ void QalculateInsertMatrixVectorDialog::slotOk() {
bool b2 = false;
for(int index_c = 0; index_c < c; index_c++) {
if(b2) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b2 = true;
@@ -219,7 +219,7 @@ void QalculateInsertMatrixVectorDialog::insertSelection() {
TQString str2 = elementsTable->text(index_r, index_c).stripWhiteSpace();
if(!str2.isEmpty()) {
if(b) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b = true;
@@ -235,7 +235,7 @@ void QalculateInsertMatrixVectorDialog::insertSelection() {
bool b1 = false;
for(int index_r = sel.topRow(); index_r <= sel.bottomRow(); index_r++) {
if(b1) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b1 = true;
@@ -244,7 +244,7 @@ void QalculateInsertMatrixVectorDialog::insertSelection() {
bool b2 = false;
for(int index_c = sel.leftCol(); index_c <= sel.rightCol(); index_c++) {
if(b2) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b2 = true;