diff --git a/src/App/ObjectIdentifier.cpp b/src/App/ObjectIdentifier.cpp index cc50192f29..0ac3f82b1a 100644 --- a/src/App/ObjectIdentifier.cpp +++ b/src/App/ObjectIdentifier.cpp @@ -1153,7 +1153,7 @@ std::vector ObjectIdentifier::getStringList() const ObjectIdentifier ObjectIdentifier::relativeTo(const ObjectIdentifier &other) const { - ObjectIdentifier result(owner); + ObjectIdentifier result(other.getOwner()); ResolveResults thisresult(*this); ResolveResults otherresult(other);