[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Nov 4 07:14:25 UTC 2006
SVN commit 601721 by okellogg:
minor sync with trunk
M +2 -4 php5writer.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/php5writer.cpp #601720:601721
@@ -3223,11 +3223,9 @@
}
void Php5Writer::writeOperations(QString /* classname */, UMLOperationList &opList, QTextStream &php, bool isInterface = false, bool generateErrorStub = false) {
- UMLOperation *op;
- UMLAttribute *at;
-
- for(op=opList.first(); op ; op=opList.next()) {
+ for(UMLOperation *op=opList.first(); op ; op=opList.next()) {
UMLAttributeList atl = op->getParmList();
+ UMLAttribute *at;
//write method doc if we have doc || if at least one of the params has doc
bool writeDoc = forceDoc() || !op->getDoc().isEmpty();
for (at = atl.first(); at; at = atl.next())
More information about the umbrello-devel
mailing list