[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Sep 24 14:19:23 UTC 2006
SVN commit 587941 by okellogg:
findUMLObject(): Use UMLFolder::findObject() for querying the Datatypes folder.
M +2 -3 umldoc.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umldoc.cpp #587940:587941
@@ -727,12 +727,11 @@
UMLObject* UMLDoc::findUMLObject(const QString &name,
Object_Type type /* = ot_UMLObject */,
UMLObject *currentObj /* = NULL */) {
- UMLObjectList list = m_datatypeRoot->containedObjects();
- UMLObject *o = Model_Utils::findUMLObject(list, name, type, currentObj);
+ UMLObject *o = m_datatypeRoot->findObject(name);
if (o)
return o;
for (int i = 0; i < Uml::N_MODELTYPES; i++) {
- list = m_root[i]->containedObjects();
+ UMLObjectList list = m_root[i]->containedObjects();
o = Model_Utils::findUMLObject(list, name, type, currentObj);
if (o)
return o;
More information about the umbrello-devel
mailing list