[Uml-devel] [Bug 271243] crashes even if a association was drawn

Oliver Kellogg okellogg at users.sourceforge.net
Sun Feb 19 00:21:25 UTC 2012


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


Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-19 00:21:25 ---
SVN commit 1280794 by okellogg:

AssocRules cleanup:
- Remove unused function
  static bool allowAssociation(Uml::AssociationType, const std::type_info &)
- At function static bool allowAssociation(Uml::AssociationType,
                                           UMLWidget *, UMLWidget *, bool)
  remove the last argument (extendedCheck), and put "#if 0" at the code
  for extendedCheck due to crashes.
- At struct Assoc_Rule, rename member `directional' to `bidirectional'.
  Add test for `bidirectional' in the allowAssociation functions.
- At definition of m_AssocRules[], 
  - remove lines which are redundant due to `bidirectional' being true.
  - at lines for AssociationType::Containment, set `bidirectional' to
    false.



 M  +66 -49    assocrules.cpp  
 M  +2 -7      assocrules.h  
 M  +5 -5      umlview.cpp  


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

-- 
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