[Uml-devel] kdesdk/umbrello/umbrello

Brian Thomas thomas at mail630.gsfc.nasa.gov
Sun Sep 28 14:38:05 UTC 2003


CVS commit by thomas: 

bug fix: getParentAssociation should be used instead of obj->parent()


  M +1 -1      codeparameter.cpp   1.6


--- kdesdk/umbrello/umbrello/codeparameter.cpp  #1.5:1.6
@@ -143,5 +143,5 @@ QString CodeParameter::getID () {
                 // cant use Role "ID" as that is used to distinquish if its
                 // role "A" or "B"
-                UMLAssociation *assoc = (UMLAssociation*) role->parent();
+                UMLAssociation *assoc = role->getParentAssociation();
                 return QString::number(assoc->getID());
         } else






More information about the umbrello-devel mailing list