Commit e9b61b49 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/petaltree2uml.cpp

- In function umbrellify(), replace last remaining usage of
  Import_Utils::createUMLObject() by Object_Factory.
  Reason: The Import_Utils function gives too strong preference to
  the Logical View on creating a new object.
parent e72f2f31
......@@ -15,7 +15,6 @@
#include "debug_utils.h"
#include "petalnode.h"
#include "model_utils.h"
#include "import_utils.h"
#include "object_factory.h"
#include "import_rose.h"
#include "uniqueid.h"
......@@ -588,7 +587,7 @@ bool umbrellify(PetalNode *node, UMLPackage *parentPkg)
pratts = pres->attributes();
}
if (pratts.isEmpty())
o = Import_Utils::createUMLObject(UMLObject::ot_Package, name, parentPkg);
o = Object_Factory::createUMLObject(UMLObject::ot_Package, name, parentPkg);
else
o = Object_Factory::createUMLObject(UMLObject::ot_Folder, name, parentPkg);
o->setID(id);
......
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