summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/expression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/expression.cpp')
-rw-r--r--kexi/kexidb/expression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexidb/expression.cpp b/kexi/kexidb/expression.cpp
index ffa45c9b..35ab8d70 100644
--- a/kexi/kexidb/expression.cpp
+++ b/kexi/kexidb/expression.cpp
@@ -692,7 +692,7 @@ bool VariableExpr::validate(ParseInfo& parseInfo)
/* taken from parser's addColumn(): */
KexiDBDbg << "checking variable name: " << name << endl;
- int dotPos = name.tqfind('.');
+ int dotPos = name.find('.');
TQString tableName, fieldName;
//TODO: shall we also support db name?
if (dotPos>0) {
@@ -910,5 +910,5 @@ bool FunctionExpr::validate(ParseInfo& parseInfo)
bool FunctionExpr::isBuiltInAggregate(const TQCString& fname)
{
- return builtInAggregates().tqfind(fname.upper())!=FunctionExpr_builtIns.end();
+ return builtInAggregates().find(fname.upper())!=FunctionExpr_builtIns.end();
}