| 726 | } |
| 727 | |
| 728 | bool LinkBaseExtension::isLinkedToConfigurableObject() const |
| 729 | { |
| 730 | if (auto linked = getLinkedObjectValue()) { |
| 731 | std::vector<App::Property*> propList; |
| 732 | linked->getPropertyList(propList); |
| 733 | for (auto prop : propList) { |
| 734 | if (prop->testStatus(Property::CopyOnChange) && prop->getContainer() == linked) { |
| 735 | return true; |
| 736 | } |
| 737 | } |
| 738 | } |
| 739 | return false; |
| 740 | } |
| 741 | |
| 742 | bool LinkBaseExtension::isCopyOnChangeProperty(DocumentObject* obj, const App::Property& prop) |
| 743 | { |
no test coverage detected