diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/javacodeoperation.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerators/javacodeoperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/codegenerators/javacodeoperation.cpp b/umbrello/umbrello/codegenerators/javacodeoperation.cpp index a788b215..54b34f46 100644 --- a/umbrello/umbrello/codegenerators/javacodeoperation.cpp +++ b/umbrello/umbrello/codegenerators/javacodeoperation.cpp @@ -123,7 +123,7 @@ void JavaCodeOperation::updateMethodDeclaration() int JavaCodeOperation::lastEditableLine() { ClassifierCodeDocument * doc = dynamic_cast<ClassifierCodeDocument*>(getParentDocument()); - if(doc->tqparentIsInterface()) + if(doc->parentIsInterface()) return -1; // very last line is NOT editable as its a one-line declaration w/ no body in // an interface. return 0; |