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

Oliver Kellogg okellogg at users.sourceforge.net
Sat Jun 17 22:16:34 UTC 2006


SVN commit 552478 by okellogg:

parseStmt(): Fix setting of attribute initial value.

 M  +2 -2      adaimport.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/adaimport.cpp #552477:552478
@@ -424,10 +424,10 @@
     QString typeName = advance();
     QString initialValue;
     if (advance() == ":=") {
-        QString expr = advance();
+        initialValue = advance();
         QString token;
         while ((token = advance()) != ";") {
-            expr.append(" " + token);
+            initialValue.append(" " + token);
         }
     }
     UMLObject *o = Import_Utils::insertAttribute(m_klass, m_currentAccess, name,




More information about the umbrello-devel mailing list