cid#1608568 COPY_INSTEAD_OF_MOVE

Change-Id: I7509b0033855c66324d655b66bef9cc14f5e8074
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169980
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Caolán McNamara 2024-07-04 09:00:09 +01:00
parent 5d9267b81c
commit a6a95c0ce4

View File

@ -375,7 +375,7 @@ bool OCommonEmbeddedObject::getAllowLinkUpdate() const
uno::Reference<container::XChild> xGrandParent(xParent->getParent(), uno::UNO_QUERY);
if (!xGrandParent)
break;
xParent = xGrandParent;
xParent = std::move(xGrandParent);
}
uno::Reference<beans::XPropertySet> xPropSet(xParent, uno::UNO_QUERY);