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

Oliver Kellogg okellogg at users.sourceforge.net
Thu Feb 2 14:09:01 UTC 2006


SVN commit 505039 by okellogg:

loc(): fix output of line number.

 M  +2 -2      import_rose.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/import_rose.cpp #505038:505039
@@ -47,7 +47,7 @@
  * Auxiliary function for diagnostics: Return current location.
  */
 QString loc() {
-    return "Import_Rose::" + g_methodName + " line " + linum + ": ";
+    return "Import_Rose::" + g_methodName + " line " + QString::number(linum) + ": ";
 }
 
 /**
@@ -365,7 +365,7 @@
                 linum++; // CHECK: do we need petal version info?
             }
             if (line == QString::null)
-                return false;
+                break;
         } else {
             QRegExp objectRx("^\\s*\\(object ");
             if (line.contains(objectRx)) {




More information about the umbrello-devel mailing list