[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Nov 24 22:08:04 UTC 2004


CVS commit by okellogg: 

saveToXMI(): Add a TODO note.


  M +3 -3      operation.cpp   1.36


--- kdesdk/umbrello/umbrello/operation.cpp  #1.35:1.36
@@ -237,6 +237,6 @@ void UMLOperation::saveToXMI( QDomDocume
         QDomElement featureElement = qDoc.createElement( "UML:BehavioralFeature.parameter" );
         if (m_pSecondary) {
-                //operationElement.setAttribute( "type", ID2STR(m_pSecondary->getID()) );
-                if (m_pSecondary->getName() != "void") {
+                //@todo Check: is "void" a programming language specific keyword?
+                //if (m_pSecondary->getName() != "void") {
                         QDomElement retElement = qDoc.createElement("UML:Parameter");
                         UMLDoc *pDoc = UMLApp::app()->getDocument();
@@ -245,5 +245,5 @@ void UMLOperation::saveToXMI( QDomDocume
                         retElement.setAttribute( "kind", "return" );
                         featureElement.appendChild( retElement );
-                }
+                //}
         } else {
                 //operationElement.setAttribute( "type", m_SecondaryId );






More information about the umbrello-devel mailing list