[umbrello-devel] [umbrello] [Bug 336810] Incorrect namespace assignment of base class with c++ import

Oliver Kellogg okellogg at users.sourceforge.net
Sat Jun 28 18:38:45 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=336810

--- Comment #6 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit f90f771bc4ee756d7e9e3e53794d889ef802e45f by Oliver Kellogg.
Committed on 28/06/2014 at 18:38.
Pushed by okellogg into branch 'master'.

(In reply to comment #4)
> [...] Unfortunately the fix seems not to be complete because with
> the following testcase class GlobalA is shown in Logical View but
> assigned to namespace NameSpace which is wrong.

Here is the fix for this case.
The fixing of your other test cases is still wide open, help appreciated.

umbrello/codeimport/kdevcppparser/cpptree2uml.cpp
- In function parseBaseClause(), before calling
  Import_Utils::createUMLObject() for creating the parent object, call
  Import_Utils::putAtGlobalScope(true). After creation of parent object,
  call Import_Utils::putAtGlobalScope(false).

M  +2    -0    umbrello/codeimport/kdevcppparser/cpptree2uml.cpp

http://commits.kde.org/umbrello/f90f771bc4ee756d7e9e3e53794d889ef802e45f

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list