[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport
Michel Hermier
michel.hermier at wanadoo.fr
Sun Aug 13 12:55:04 UTC 2006
SVN commit 572638 by hermier:
Don't assert on empty comment.
M +3 -0 import_utils.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/import_utils.cpp #572637:572638
@@ -72,6 +72,9 @@
}
QString formatComment(const QString &comment) {
+ if (comment.isEmpty())
+ return comment;
+
QStringList lines = QStringList::split("\n", comment);
QString& first = lines.first();
QRegExp wordex("\\w");
More information about the umbrello-devel
mailing list