X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FModel_AttributeRefList.cpp;h=f6520fce869300ecaacfa0ee092dd0fece340583;hb=4ee6972a725f02500c2c543abeef2909180e09c1;hp=0366e0a77dc9ab372d87a7f9a4541ee24ef7472f;hpb=507f658f34fc6c42f48fb83a8fa916c6f0e33fd3;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeRefList.cpp b/src/Model/Model_AttributeRefList.cpp index 0366e0a77..f6520fce8 100644 --- a/src/Model/Model_AttributeRefList.cpp +++ b/src/Model/Model_AttributeRefList.cpp @@ -19,7 +19,7 @@ void Model_AttributeRefList::append(boost::shared_ptr theFeatu myRef->Append(aData->label()); static Events_ID anEvent = Events_Loop::eventByName(EVENT_FEATURE_UPDATED); - Model_FeatureUpdatedMessage aMsg(feature(), anEvent); + Model_FeatureUpdatedMessage aMsg(owner(), anEvent); Events_Loop::loop()->send(aMsg); } @@ -40,7 +40,7 @@ list > Model_AttributeRefList::list() { std::list< boost::shared_ptr > aResult; boost::shared_ptr aDoc = - boost::dynamic_pointer_cast(feature()->document()); + boost::dynamic_pointer_cast(owner()->document()); if (aDoc) { const TDF_LabelList& aList = myRef->List(); for(TDF_ListIteratorOfLabelList aLIter(aList); aLIter.More(); aLIter.Next()) {