[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon May 31 10:01:07 UTC 2004


CVS commit by okellogg: 

checkOperationSignature(): Make debuggable.


  M +3 -2      classifier.cpp   1.42


--- kdesdk/umbrello/umbrello/classifier.cpp  #1.41:1.42
@@ -37,4 +37,5 @@ UMLOperation * UMLClassifier::checkOpera
         if( list.count() == 0 )
                 return NULL;
+        int inputParmCount = (opParams ? opParams->count() : 0);
 
         // there is at least one operation with the same name... compare the parameter list
@@ -51,7 +52,7 @@ UMLOperation * UMLClassifier::checkOpera
                         continue;
                 }
-                if( testParams->count() != opParams->count() )
-                        continue;
                 int pCount = testParams->count();
+                if( pCount != inputParmCount )
+                        continue;
                 int i = 0;
                 for( ; i < pCount; ++i )






More information about the umbrello-devel mailing list