[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators

Oliver Kellogg okellogg at users.sourceforge.net
Fri Nov 10 21:04:59 UTC 2006


SVN commit 603937 by okellogg:

writeOperation(): Emit "void" for no return type.


 M  +2 -0      idlwriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/idlwriter.cpp #603936:603937
@@ -390,6 +390,8 @@
     UMLAttributeList atl = op->getParmList();
     QString rettype = op->getTypeName();
 
+    if (rettype.isEmpty())
+        rettype = "void";
     idl << getIndent();
     if (is_comment)
         idl << "// ";




More information about the umbrello-devel mailing list