[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Aug 27 11:31:07 UTC 2005
SVN commit 454011 by okellogg:
setTypeName(): Treat (type == "void") same as no type.
M +3 -3 classifierlistitem.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classifierlistitem.cpp #454010:454011
@@ -1,5 +1,5 @@
/*
- * copyright (C) 2003-2004
+ * copyright (C) 2003-2005
* Umbrello UML Modeller Authors <uml-devel@ uml.sf.net>
*/
@@ -71,9 +71,9 @@
}
void UMLClassifierListItem::setTypeName(const QString &type) {
- if (type.isEmpty()) {
+ if (type.isEmpty() || type == "void") {
m_pSecondary = NULL;
- m_SecondaryId = type;
+ m_SecondaryId = QString::null;
return;
}
UMLDoc *pDoc = UMLApp::app()->getDocument();
More information about the umbrello-devel
mailing list