Commit d5500e2c authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix possible crash

parent dce3bcf4
......@@ -251,6 +251,7 @@ void CodeGenerator::saveToXMI1(QDomDocument & doc, QDomElement & root)
if (dynamic_cast<SimpleCodeGenerator*>(this)) {
UMLClassifierList concepts = m_document->classesAndInterfaces();
foreach (UMLClassifier *c, concepts) {
UMLOperationList operations = c->getOpList();
foreach (UMLOperation *op, operations) {
// save the source code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment