summaryrefslogtreecommitdiffstats
path: root/src/translators/csvexporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/csvexporter.cpp')
-rw-r--r--src/translators/csvexporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/translators/csvexporter.cpp b/src/translators/csvexporter.cpp
index ef608b7..6936ef0 100644
--- a/src/translators/csvexporter.cpp
+++ b/src/translators/csvexporter.cpp
@@ -46,13 +46,13 @@ TQString CSVExporter::fileFilter() const {
TQString& CSVExporter::escapeText(TQString& text_) {
bool quotes = false;
- if(text_.tqfind('"') != -1) {
+ if(text_.find('"') != -1) {
quotes = true;
// quotation marks will be escaped by using a double pair
- text_.tqreplace('"', TQString::tqfromLatin1("\"\""));
+ text_.replace('"', TQString::tqfromLatin1("\"\""));
}
// if the text contains quotes or the delimiter, it needs to be surrounded by quotes
- if(quotes || text_.tqfind(m_delimiter) != -1) {
+ if(quotes || text_.find(m_delimiter) != -1) {
text_.prepend('"');
text_.append('"');
}