summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codeimport/adaimport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codeimport/adaimport.cpp')
-rw-r--r--umbrello/umbrello/codeimport/adaimport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/umbrello/umbrello/codeimport/adaimport.cpp b/umbrello/umbrello/codeimport/adaimport.cpp
index c9325b36..05dc2f68 100644
--- a/umbrello/umbrello/codeimport/adaimport.cpp
+++ b/umbrello/umbrello/codeimport/adaimport.cpp
@@ -198,9 +198,9 @@ bool AdaImport::parseStmt() {
}
if (keyword == "package") {
const TQString& name = advance();
- TQStringList tqparentPkgs = TQStringList::split(".", name.lower());
- tqparentPkgs.pop_back(); // exclude the current package
- parseStems(tqparentPkgs);
+ TQStringList parentPkgs = TQStringList::split(".", name.lower());
+ parentPkgs.pop_back(); // exclude the current package
+ parseStems(parentPkgs);
UMLObject *ns = NULL;
if (advance() == "is") {
ns = Import_Utils::createUMLObject(Uml::ot_Package, name,