[Uml-devel] branches/work/soc-umbrello/umbrello/codeimport

Ralf Habacker ralf.habacker at gmail.com
Wed Dec 7 12:27:44 UTC 2011


SVN commit 1267650 by habacker:

Crash on C++ import with Doxygen: cause Doxygen Braces - Bug 228352

commit from trunk r1266941

 M  +3 -0      import_utils.cpp  


--- branches/work/soc-umbrello/umbrello/codeimport/import_utils.cpp #1267649:1267650
@@ -126,6 +126,9 @@
         else
             lines.pop_front();  // nothing interesting on this line
     }
+    if (! lines.count())
+        return QString();
+
     QString& last = lines.last();
     int endpos = last.indexOf("*/");
     if (endpos != -1) {




More information about the umbrello-devel mailing list