summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp b/umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp
index 5c3d0a74..9409b207 100644
--- a/umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp
+++ b/umbrello/umbrello/codegenerators/cppsourcecodeoperation.cpp
@@ -41,7 +41,7 @@ CPPSourceCodeOperation::CPPSourceCodeOperation ( CPPSourceCodeDocument * doc, UM
CPPCodeGenerationPolicy * policy = dynamic_cast<CPPCodeGenerationPolicy*>(pe);
UMLClassifier * c = doc->getParentClassifier();
UMLOperation * o = getParentOperation();
- bool isInterface = doc->tqparentIsInterface();
+ bool isInterface = doc->parentIsInterface();
bool isInlineMethod = policy->getOperationsAreInline( );
// first, the comment on the operation
@@ -131,7 +131,7 @@ void CPPSourceCodeOperation::updateMethodDeclaration()
CPPCodeGenerationPolicy * policy = dynamic_cast<CPPCodeGenerationPolicy*>(pe);
UMLClassifier * c = doc->getParentClassifier();
UMLOperation * o = getParentOperation();
- bool isInterface = doc->tqparentIsInterface();
+ bool isInterface = doc->parentIsInterface();
bool isInlineMethod = policy->getOperationsAreInline( );
// first, the comment on the operation