[Uml-devel] regarding Bug 97188
Paulo Sehn
paulo.sehn at gmail.com
Sat Jul 9 21:12:13 UTC 2005
http://bugs.kde.org/show_bug.cgi?id=97188
I was having this problem when I was trying to compile the generated
c++ code and after an investigation I got this solution for the
problem :
Index: cppsourcecodeoperation.cpp
===================================================================
--- cppsourcecodeoperation.cpp (revision 433226)
+++ cppsourcecodeoperation.cpp (working copy)
@@ -40,7 +40,7 @@
void CPPSourceCodeOperation::updateContent( )
{
CPPCodeGenerationPolicy * policy = (CPPCodeGenerationPolicy*)
getParentDocument()->getParentGenerator()->getPolicy();
- bool isInlineMethod = policy->getAccessorsAreInline( );
+ bool isInlineMethod = policy->getOperationsAreInline();
if(!isInlineMethod)
setText(""); // change whatever it is to "";
@@ -57,7 +57,7 @@
UMLClassifier * c = doc->getParentClassifier();
UMLOperation * o = getParentOperation();
bool isInterface = doc->parentIsInterface();
- bool isInlineMethod = policy->getAccessorsAreInline( );
+ bool isInlineMethod = policy->getOperationsAreInline();
// first, the comment on the operation
QString comment = o->getDoc();
As I'm not a umbrello developer, I just would like to send this to the
list and I hope that this information could be usefull for the bug
owner or someoneelse.
Paulo Sehn
More information about the umbrello-devel
mailing list