summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/mySQL/mysqldriver.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kexi/kexidb/drivers/mySQL/mysqldriver.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kexi/kexidb/drivers/mySQL/mysqldriver.cpp')
-rw-r--r--kexi/kexidb/drivers/mySQL/mysqldriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqldriver.cpp b/kexi/kexidb/drivers/mySQL/mysqldriver.cpp
index 01d326af2..10654e7e3 100644
--- a/kexi/kexidb/drivers/mySQL/mysqldriver.cpp
+++ b/kexi/kexidb/drivers/mySQL/mysqldriver.cpp
@@ -125,7 +125,7 @@ TQString MySqlDriver::escapeString(const TQString& str) const
break;
}
if (i >= old_length) { //no characters to escape
- return TQString::tqfromLatin1("'") + str + TQString::tqfromLatin1("'");
+ return TQString::fromLatin1("'") + str + TQString::fromLatin1("'");
}
TQChar *new_string = new TQChar[ old_length * 3 + 1 ]; // a worst case approximation