summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCustomVariablesDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoCustomVariablesDia.cpp')
-rw-r--r--lib/kotext/KoCustomVariablesDia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoCustomVariablesDia.cpp b/lib/kotext/KoCustomVariablesDia.cpp
index af709678..fd28bfe6 100644
--- a/lib/kotext/KoCustomVariablesDia.cpp
+++ b/lib/kotext/KoCustomVariablesDia.cpp
@@ -218,7 +218,7 @@ KoCustomVariablesDia::KoCustomVariablesDia( TQWidget *tqparent, const TQPtrList<
KoVariable *var = it.current();
if ( var->type() == VT_CUSTOM ) {
KoCustomVariable *v = (KoCustomVariable*)var;
- if ( !lst.tqcontains( v->name() ) ) {
+ if ( !lst.contains( v->name() ) ) {
lst.append( v->name() );
KoCustomVariablesListItem *item = new KoCustomVariablesListItem( list );
item->setVariable( v );