[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Sep 2 10:00:01 UTC 2005
SVN commit 456352 by okellogg:
setAttributesFromNode(): Fix regression introduced by commit 344219.
M +1 -2 codeclassfield.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codeclassfield.cpp #456351:456352
@@ -301,8 +301,7 @@
if( tag == "codeaccessormethod" ) {
int type = element.attribute("accessType","0").toInt();
int role_id = element.attribute("role_id","-1").toInt();
- Uml::Role_Type r = (role_id == 1 ? Uml::A : Uml::B);
- CodeAccessorMethod * method = findMethodByType((CodeAccessorMethod::AccessorType) type, r);
+ CodeAccessorMethod * method = findMethodByType((CodeAccessorMethod::AccessorType) type, role_id);
if(method)
method->loadFromXMI(element);
else
More information about the umbrello-devel
mailing list