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

Oliver Kellogg okellogg at users.sourceforge.net
Sun Aug 6 20:57:45 UTC 2006


SVN commit 570472 by okellogg:

Don't reset m_parseDepth on each call to NativeImportBase::parseFile(),
JavaImport::parseFile() manages it.


 M  +1 -1      javaimport.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codeimport/javaimport.cpp #570471:570472
@@ -31,6 +31,7 @@
 
 JavaImport::JavaImport() : NativeImportBase("//") {
     setMultiLineComment("/*", "*/");
+    m_parseDepth = 0;
     initVars();
 }
 
@@ -38,7 +39,6 @@
 }
 
 void JavaImport::initVars() {
-    m_parseDepth = 0;
     m_isStatic = false;
 }
 




More information about the umbrello-devel mailing list