summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umlnamespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/umlnamespace.cpp')
-rw-r--r--umbrello/umbrello/umlnamespace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/umlnamespace.cpp b/umbrello/umbrello/umlnamespace.cpp
index 391b0560..45c40de6 100644
--- a/umbrello/umbrello/umlnamespace.cpp
+++ b/umbrello/umbrello/umlnamespace.cpp
@@ -18,7 +18,7 @@ bool tagEq (const TQString& inTag, const TQString& inPattern) {
TQString tag = inTag;
TQString pattern = inPattern;
tag.remove( TQRegExp("^\\w+:") ); // remove leading "UML:" or other
- int patSections = pattern.tqcontains( '.' ) + 1;
+ int patSections = pattern.contains( '.' ) + 1;
TQString tagEnd = tag.section( '.', -patSections );
return (tagEnd.lower() == pattern.lower());
}