X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeReference.cpp;h=beb04549cffe4a51c359d83158e386613ddb07e8;hb=5303dd1fa6ad4411e38f8d36103c72109957e05c;hp=700e2f7d3d387f3e1d902d34a7de0e02692f14a8;hpb=b2ab6b5d1fb5d1da1e04d68298605660cf5cce24;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeReference.cpp b/src/Model/Model_AttributeReference.cpp index 700e2f7d3..beb04549c 100644 --- a/src/Model/Model_AttributeReference.cpp +++ b/src/Model/Model_AttributeReference.cpp @@ -36,8 +36,6 @@ void Model_AttributeReference::setValue(ObjectPtr theObject) // same document, use reference attribute if (anObjLab.IsNull() || owner()->document() == theObject->document()) { - std::shared_ptr aDoc = - std::dynamic_pointer_cast(owner()->document()); if (anObjLab.IsNull()) { myRef->Set(myRef->Label()); } else {