summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/javaantcodedocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/javaantcodedocument.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/javaantcodedocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/codegenerators/javaantcodedocument.cpp b/umbrello/umbrello/codegenerators/javaantcodedocument.cpp
index 1fd6fd69..99f0d862 100644
--- a/umbrello/umbrello/codegenerators/javaantcodedocument.cpp
+++ b/umbrello/umbrello/codegenerators/javaantcodedocument.cpp
@@ -146,7 +146,7 @@ void JavaANTCodeDocument::loadChildTextBlocksFromNode ( TQDomElement & root)
} else
if( name == "codeoperation" ) {
// find the code operation by id
- TQString id = element.attribute("tqparent_id","-1");
+ TQString id = element.attribute("parent_id","-1");
UMLObject * obj = UMLApp::app()->getDocument()->findObjectById(STR2ID(id));
UMLOperation * op = dynamic_cast<UMLOperation*>(obj);
if(op) {