[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Feb 4 14:24:02 UTC 2005


CVS commit by okellogg: 

createUMLObject(): Allow spaces in type name (e.g. "unsigned long long".)


  M +1 -1      classimport.cpp   1.72


--- kdesdk/umbrello/umbrello/classimport.cpp  #1.71:1.72
@@ -90,5 +90,5 @@ UMLObject *ClassImport::createUMLObject(
                 int isPointer = typeName.contains('*');
                 int isRef = typeName.contains('&');
-                typeName.remove(QRegExp("[^:\\w].*$"));
+                typeName.remove(QRegExp("[^\\w: ].*$"));
                 UMLObject *origType = m_umldoc->findUMLObject(typeName, Uml::ot_UMLObject, parentPkg);
                 if (origType == NULL) {






More information about the umbrello-devel mailing list