summaryrefslogtreecommitdiffstats
path: root/src/qalculateexportcsvdialog.cpp
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-11-11 00:22:16 +0000
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-14 13:31:00 +0800
commitacc3790c3c38df02937fdfea6b97de2c622b3c0d (patch)
tree298b95fab65d0ed107048b1d0a6940061de28e1e /src/qalculateexportcsvdialog.cpp
parentec5a7752bc558117da4ae0c181109cf67d888a51 (diff)
downloadqalculate-tde-acc3790c.tar.gz
qalculate-tde-acc3790c.zip
Fix undeclared declarations of string/vector/list; prefix declarations with 'std::'
Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 208f77024e5231bffa800964b1123cbde8fa3f29)
Diffstat (limited to 'src/qalculateexportcsvdialog.cpp')
-rw-r--r--src/qalculateexportcsvdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qalculateexportcsvdialog.cpp b/src/qalculateexportcsvdialog.cpp
index 9c73297..a224ee8 100644
--- a/src/qalculateexportcsvdialog.cpp
+++ b/src/qalculateexportcsvdialog.cpp
@@ -20,6 +20,7 @@
#include "qalculateexportcsvdialog.h"
#include "qalculate_tde_utils.h"
+#include <string>
#include <tqlayout.h>
#include <kurlrequester.h>
#include <klineedit.h>
@@ -93,7 +94,7 @@ void QalculateExportCSVDialog::slotOk() {
KMessageBox::error(this, i18n("No file name entered."));
return;
}
- string delimiter = "";
+ std::string delimiter = "";
switch(delimiterCombo->currentItem()) {
case 0: {
delimiter = ",";
@@ -128,7 +129,7 @@ void QalculateExportCSVDialog::slotOk() {
} else if(currentResultButton->isChecked()) {
matrix_struct = mstruct;
} else {
- string str2 = matrixVectorEdit->text().ascii();
+ std::string str2 = matrixVectorEdit->text().ascii();
remove_blank_ends(str2);
if(str2.empty()) {
matrixVectorEdit->setFocus();