[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Dec 22 10:27:21 UTC 2004


CVS commit by okellogg: 

calculateAsConceptSize(): use new method ClassifierWidget::displayedOperations()


  M +1 -5      interfacewidget.cpp   1.29


--- kdesdk/umbrello/umbrello/interfacewidget.cpp  #1.28:1.29
@@ -210,9 +210,5 @@ void InterfaceWidget::calculateAsConcept
         //set the height of the concept
         if (m_bShowOperations) {
-                UMLOperationList list((static_cast<UMLClassifier*>(m_pObject))->getOpList());
-                for (UMLOperation *obj = list.first(); obj; obj = list.next()) {
-                        if (!(m_bShowPublicOnly && obj->getScope() != Uml::Public))
-                                numOps++;
-                }
+                numOps = ClassifierWidget::displayedOperations();
                 lines += numOps;
                 if(numOps == 0) {






More information about the umbrello-devel mailing list