summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/lib
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/lib')
-rw-r--r--kexi/plugins/macros/lib/metamethod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/macros/lib/metamethod.cpp b/kexi/plugins/macros/lib/metamethod.cpp
index 6642c706..364b5347 100644
--- a/kexi/plugins/macros/lib/metamethod.cpp
+++ b/kexi/plugins/macros/lib/metamethod.cpp
@@ -262,7 +262,7 @@ TDESharedPtr<Variable> MetaMethod::toVariable(TQUObject* uo)
return new Variable();
}
- if(desc == TQSTRING_OBJECT_NAME_STRING) {
+ if(desc == "TQString") {
const TQString s = static_TQUType_TQString.get(uo);
return new Variable(s);
}