[Uml-devel] KDE/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Feb 11 13:48:01 UTC 2006
SVN commit 508484 by okellogg:
apply commit 508483 from branches/KDE/3.5
M +3 -0 import_utils.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/import_utils.cpp #508483:508484
@@ -5,6 +5,8 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
+ * copyright (C) 2005-2006 *
+ * Umbrello UML Modeller Authors <uml-devel@ uml.sf.net> *
***************************************************************************/
// own header
@@ -126,6 +128,7 @@
const bool isPointer = typeName.contains('*');
const bool isRef = typeName.contains('&');
typeName.remove(QRegExp("[^\\w:\\. ].*$"));
+ typeName = typeName.simplifyWhiteSpace();
UMLObject *origType = umldoc->findUMLObject(typeName, Uml::ot_UMLObject, parentPkg);
if (origType == NULL) {
// Still not found. Create the stripped down type.
More information about the umbrello-devel
mailing list