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:
@@ -375,7 +375,7 @@ bool OCommonEmbeddedObject::getAllowLinkUpdate() const
|
|||||||
uno::Reference<container::XChild> xGrandParent(xParent->getParent(), uno::UNO_QUERY);
|
uno::Reference<container::XChild> xGrandParent(xParent->getParent(), uno::UNO_QUERY);
|
||||||
if (!xGrandParent)
|
if (!xGrandParent)
|
||||||
break;
|
break;
|
||||||
xParent = xGrandParent;
|
xParent = std::move(xGrandParent);
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Reference<beans::XPropertySet> xPropSet(xParent, uno::UNO_QUERY);
|
uno::Reference<beans::XPropertySet> xPropSet(xParent, uno::UNO_QUERY);
|
||||||
|
Reference in New Issue
Block a user