[Uml-devel] KDE/kdesdk/umbrello/umbrello

Gaël de Chalendar kleag at free.fr
Wed Jul 26 23:17:18 UTC 2006


SVN commit 566756 by kleag:

Loading and saving XMI work again

 M  +2 -3      umlnamespace.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlnamespace.cpp #566755:566756
@@ -14,14 +14,13 @@
 
 #include "umlnamespace.h"
 #include "qregexp.h"
+#include <kdebug.h>
 
 namespace Uml {
 
 bool tagEq (QString tag, QString pattern) {
     tag.remove( QRegExp("^\\w+:") );  // remove leading "UML:" or other
-    int patSections = pattern.indexOf( '.' ) + 1;
-    QString tagEnd = tag.section( '.', -patSections );
-    return (tagEnd.lower() == pattern.lower());
+    return (tag.lower() == pattern.lower());
 }
 
 QString Visibility::toString(Value value, bool mnemonic) {




More information about the umbrello-devel mailing list