]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeRefList.cpp
Salome HOME
Improve coverage for Model and Config packages
[modules/shaper.git] / src / Model / Model_AttributeRefList.cpp
index 4dca9ad93a1e1fb4c938d73217028191b01f362e..7ffe0c4d38333c3e13ff49358c54272873fc3588 100644 (file)
@@ -67,6 +67,7 @@ void Model_AttributeRefList::remove(ObjectPtr theObject)
       REMOVE_BACK_REF(theObject);
       owner()->data()->sendAttributeUpdated(this);
     } else {
+      // LCOV_EXCL_START
       // create new lists because for the current moment remove one of the duplicated elements
       // from the list is buggy
       TDF_LabelList anOldList = myRef->List();
@@ -102,6 +103,7 @@ void Model_AttributeRefList::remove(ObjectPtr theObject)
         REMOVE_BACK_REF(theObject);
         owner()->data()->sendAttributeUpdated(this);
       }
+      // LCOV_EXCL_STOP
     }
   }
   else { // in case of empty object remove, the first empty object is removed from the list