[Uml-devel] [Bug 283744] Gratuitous warning messages on loading project file

Oliver Kellogg okellogg at users.sourceforge.net
Sat Feb 11 23:08:17 UTC 2012


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





--- Comment #20 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-11 23:08:16 ---
SVN commit 1279514 by okellogg:

Apply attachment 68501 :

umbrello/stereotype.h
- In class doc, mention that umlPackage() returns NULL for a stereotype,
  and explain why this is so.

umbrello/umlobject.cpp
- setUMLPackage(): Allow setting m_pUMLPackage to NULL (due to stereotypes.)

umbrello/umldoc.cpp
- loadUMLObjectsFromXMI(): Exclude stereotypes from the guessContainer()
  call in order to allow pObject->umlPackage() to return NULL.



 M  +6 -0      stereotype.h  
 M  +3 -1      umldoc.cpp  
 M  +6 -0      umlobject.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1279514

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list