Commit ac667c529d6423f74f0b885ec8180d04f10b7240
1 parent
b2bb9e8a
Exists in
devel
undo last modification
Showing
2 changed files
with
0 additions
and
6 deletions
Show diff stats
extrator/src/extratorTXT.cpp
@@ -55,10 +55,6 @@ void ExtratorTXT::encodingfiletoUTF8() { | @@ -55,10 +55,6 @@ void ExtratorTXT::encodingfiletoUTF8() { | ||
55 | system(sedcmd.c_str()); | 55 | system(sedcmd.c_str()); |
56 | } | 56 | } |
57 | 57 | ||
58 | -void ExtratorTXT::remove_quotes(std::string &str) { | ||
59 | - str.erase(std::remove(str.begin(), str.end(), '\"'), str.end()); | ||
60 | -} | ||
61 | - | ||
62 | void ExtratorTXT::setFilePath(char* path){ | 58 | void ExtratorTXT::setFilePath(char* path){ |
63 | this->filePath = path; | 59 | this->filePath = path; |
64 | encodingfiletoUTF8(); | 60 | encodingfiletoUTF8(); |
@@ -90,7 +86,6 @@ void ExtratorTXT::Run(){ | @@ -90,7 +86,6 @@ void ExtratorTXT::Run(){ | ||
90 | getline(ifs_, current_line, '\n'); | 86 | getline(ifs_, current_line, '\n'); |
91 | 87 | ||
92 | if (current_line.length() != 0) { | 88 | if (current_line.length() != 0) { |
93 | - remove_quotes(current_line); | ||
94 | notifyListeners((unsigned char*) current_line.c_str()); | 89 | notifyListeners((unsigned char*) current_line.c_str()); |
95 | line_index++; | 90 | line_index++; |
96 | } | 91 | } |
extrator/src/include/extratorTXT.h