[Uml-devel] kdesdk/umbrello/umbrello
    Oliver Kellogg 
    okellogg at users.sourceforge.net
       
    Mon Apr 19 13:35:11 UTC 2004
    
    
  
CVS commit by okellogg: 
createChildUMLObject: Very strange, I thought I fixed this 78806 beastie.
Oh well, here's the fix for good.
  M +4 -1      umllistview.cpp   1.92
--- kdesdk/umbrello/umbrello/umllistview.cpp  #1.91:1.92
@@ -1869,9 +1869,12 @@ void UMLListView::createChildUMLObject( 
         }
 
+        //kdDebug() << "UMLListView::createChildUMLObject (" << name << ")" << endl;
         UMLObject* newObject;
         if ( type == Uml::ot_Attribute )  {
                 newObject = m_doc->createAttribute( static_cast<UMLClass*>(parent), name );
         } else {
-                newObject = m_doc->createOperation( static_cast<UMLClassifier*>(parent), name );
+                UMLAttributeList dummyAttList;
+                newObject = m_doc->createOperation( static_cast<UMLClassifier*>(parent),
+                                                   name, &dummyAttList );
         }
 
    
    
More information about the umbrello-devel
mailing list