[Uml-devel] branches/KDE/3.5/kdesdk/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Nov 19 14:56:08 UTC 2006
SVN commit 606168 by okellogg:
createUMLObject(): Use Model_Utils::convert_OT_MT() when parentPkg is NULL.
BUG:137564
M +4 -0 ChangeLog
M +1 -1 VERSION
M +1 -19 umbrello/object_factory.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #606167:606168
@@ -1,3 +1,7 @@
+Version 1.5.6
+* Bugs/wishes from http://bugs.kde.org:
+* Artifacts of a component diagram are wrongly placed in Deployment View folder (137564)
+
Version 1.5.52
* Fixed segfault in UMLClassifier::checkOperationSignature()
--- branches/KDE/3.5/kdesdk/umbrello/VERSION #606167:606168
@@ -1 +1 @@
-1.5.52
+1.5.6
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/object_factory.cpp #606167:606168
@@ -124,25 +124,7 @@
bool solicitNewName /* = true */) {
UMLDoc *doc = UMLApp::app()->getDocument();
if (parentPkg == NULL) {
- Uml::Model_Type mt = Uml::mt_Logical;
- switch (type) {
- case Uml::ot_Actor:
- case Uml::ot_UseCase:
- mt = Uml::mt_UseCase;
- break;
- case Uml::ot_Component:
- mt = Uml::mt_Component;
- break;
- case Uml::ot_Artifact:
- case Uml::ot_Node:
- mt = Uml::mt_Deployment;
- break;
- case Uml::ot_Entity:
- mt = Uml::mt_EntityRelationship;
- break;
- default:
- break;
- }
+ Uml::Model_Type mt = Model_Utils::convert_OT_MT(type);
kDebug() << "Object_Factory::createUMLObject(" << n << "): "
<< "parentPkg is not set, assuming Model_Type " << mt << endl;
parentPkg = doc->getRootFolder(mt);
More information about the umbrello-devel
mailing list