diff options
author | aneejit1 <aneejit1@gmail.com> | 2020-11-11 00:22:16 +0000 |
---|---|---|
committer | aneejit1 <aneejit1@gmail.com> | 2020-11-13 15:13:37 +0000 |
commit | 208f77024e5231bffa800964b1123cbde8fa3f29 (patch) | |
tree | ec19896681c321fd70d52befdcea62559597eeb4 /src/qalculateexportcsvdialog.cpp | |
parent | 7cbf6dffbb0ec5521db6136b39d35fd9e98663ee (diff) | |
download | qalculate-tde-208f77024e5231bffa800964b1123cbde8fa3f29.tar.gz qalculate-tde-208f77024e5231bffa800964b1123cbde8fa3f29.zip |
Fix undeclared declarations of string/vector/list; prefix declarations with 'std::'
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'src/qalculateexportcsvdialog.cpp')
-rw-r--r-- | src/qalculateexportcsvdialog.cpp | 5 |
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(); |