[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport

Ralf Habacker ralf.habacker at gmail.com
Thu Dec 1 12:56:07 UTC 2011


SVN commit 1266941 by habacker:

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

 M  +3 -0      import_utils.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/import_utils.cpp #1266940:1266941
@@ -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