[Uml-devel] kdesdk/umbrello/umbrello/codegenerators

Brian Thomas thomas at mail630.gsfc.nasa.gov
Fri Nov 14 13:32:13 UTC 2003


CVS commit by thomas: 

minor bug fix: dont need abstract class warning when its an interface


  M +2 -2      cppheaderclassdeclarationblock.cpp   1.8


--- kdesdk/umbrello/umbrello/codegenerators/cppheaderclassdeclarationblock.cpp  #1.7:1.8
@@ -87,6 +87,6 @@ void CPPHeaderClassDeclarationBlock::upd
         // COMMENT
 
-        //check if class is abstract and / or has abstract methods
-        if((c->getAbstract() || isInterface ) && !c->hasAbstractOps())
+        //check if class is abstract.. it should have abstract methods
+        if(!isInterface && c->getAbstract() && !c->hasAbstractOps())
         {
                 getComment()->setText("******************************* Abstract Class ****************************"+endLine






More information about the umbrello-devel mailing list