summaryrefslogtreecommitdiffstats
path: root/src/qalculateimportcsvdialog.cpp
diff options
context:
space:
mode:
authoraneejit1 <[email protected]>2020-11-11 00:22:16 +0000
committerMichele Calgaro <[email protected]>2020-11-14 13:31:00 +0800
commitacc3790c3c38df02937fdfea6b97de2c622b3c0d (patch)
tree298b95fab65d0ed107048b1d0a6940061de28e1e /src/qalculateimportcsvdialog.cpp
parentec5a7752bc558117da4ae0c181109cf67d888a51 (diff)
downloadqalculate-tde-acc3790c3c38df02937fdfea6b97de2c622b3c0d.tar.gz
qalculate-tde-acc3790c3c38df02937fdfea6b97de2c622b3c0d.zip
Fix undeclared declarations of string/vector/list; prefix declarations with 'std::'
Signed-off-by: aneejit1 <[email protected]> (cherry picked from commit 208f77024e5231bffa800964b1123cbde8fa3f29)
Diffstat (limited to 'src/qalculateimportcsvdialog.cpp')
-rw-r--r--src/qalculateimportcsvdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qalculateimportcsvdialog.cpp b/src/qalculateimportcsvdialog.cpp
index 2a6e257..251adc9 100644
--- a/src/qalculateimportcsvdialog.cpp
+++ b/src/qalculateimportcsvdialog.cpp
@@ -20,6 +20,7 @@
#include "qalculateimportcsvdialog.h"
#include "qalculate_tde_utils.h"
+#include <string>
#include <tqlayout.h>
#include <kurlrequester.h>
#include <klineedit.h>
@@ -116,7 +117,7 @@ void QalculateImportCSVDialog::slotOk() {
KMessageBox::error(this, i18n("No file name entered."));
return;
}
- string delimiter = "";
+ std::string delimiter = "";
switch(delimiterCombo->currentItem()) {
case 0: {
delimiter = ",";