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

Ralf Habacker ralf.habacker at gmail.com
Wed Dec 7 12:05:30 UTC 2011


SVN commit 1267645 by habacker:

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

backported from trunk r1266941

 M  +3 -0      import_utils.cpp  


--- branches/KDE/4.7/kdesdk/umbrello/umbrello/codeimport/import_utils.cpp #1267644:1267645
@@ -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