[Uml-devel] kdesdk/umbrello/umbrello

Jonathan Riddell jri at jriddell.org
Tue Aug 31 13:06:57 UTC 2004


CVS commit by jriddell: 

Allow enum literals to be removed


  M +5 -3      umldoc.cpp   1.184


--- kdesdk/umbrello/umbrello/umldoc.cpp  #1.183:1.184
@@ -1582,4 +1582,6 @@ void UMLDoc::removeUMLObject(UMLObject* 
                 if (type == ot_Operation) {
                         parent->removeOperation(static_cast<UMLOperation*>(umlobject));
+                } else if (type == ot_EnumLiteral) {
+                        static_cast<UMLEnum*>(parent)->removeEnumLiteral(umlobject);
                 } else {
                         UMLClass* pClass = dynamic_cast<UMLClass*>(parent);






More information about the umbrello-devel mailing list