[umbrello-devel] [umbrello] [Bug 336810] Incorrect namespace assignment of base class with c++ import
Ralf Habacker
ralf.habacker at freenet.de
Tue Jul 1 14:36:02 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=336810
--- Comment #11 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit b37eebda3b4b0387486fe80d0e329a73c8f6de72 by Ralf Habacker.
Committed on 01/07/2014 at 14:08.
Pushed by habacker into branch 'master'.
Fix bug not placing class N1::A below N1 package in tree view.
The problem was, that Import_Utils::createUMLObject() tries to find an object
in different namespaces and only creates an uml object if not found.
In the case of parsing a c++ import class specification we simply need
to create the related uml class object in the current namespace, which
is provided by the additional parameter "doNotSearch".
Related test case is https://bugs.kde.org/show_bug.cgi?id=336810#c10
M +11 -3 umbrello/codeimport/import_utils.cpp
M +2 -1 umbrello/codeimport/import_utils.h
M +1 -1 umbrello/codeimport/kdevcppparser/cpptree2uml.cpp
M +4 -0 umbrello/object_factory.h
http://commits.kde.org/umbrello/b37eebda3b4b0387486fe80d0e329a73c8f6de72
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list