Revision 1282856

Go back to digest for 4th March 2012

Optimization in Development Tools

Oliver Kellogg committed changes in /trunk/KDE/kdesdk/umbrello:

UMLDoc::loadFromXMI (tagEq(tag, "Package") ||
tagEq(tag, "Class") ||
tagEq(tag, "Interface")) :
Do not call loadUMLObjectsFromXMI() because that method again iterates over
the child nodes of the element (not appropriate here because we already
identified the exact tag to load.)
Instead, use Object_Factory::makeObjectFromXMI() for creating and
UMLObject::loadFromXMI() for loading the object.

File Changes

Modified 2 files
  • /trunk/KDE/kdesdk/umbrello
  •   /ChangeLog
  •   /umbrello/umldoc.cpp
2 files changed in total