summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-05 14:18:16 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-06 22:14:59 +0200
commit12a94012cae2c1415d772dd6883c5a49ff46b625 (patch)
tree006c7d1ae486852d8381e33ba1cb72ed74480ce3 /include/tools
parentb8ed305052341a19390471f4747a4e5df1a1926a (diff)
cid#1554717 COPY_INSTEAD_OF_MOVE
Change-Id: Icb1df2b857568cf085b597e378094e7231286fce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170047 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/urlobj.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index 7e7c4a2aafc6..96f21676d51b 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -1210,7 +1210,7 @@ inline bool INetURLObject::GetNewAbsURL(OUString const & rTheRelURIRef,
FSysStyle::Detect))
return false;
if (pTheAbsURIRef)
- *pTheAbsURIRef = aTheAbsURIRef;
+ *pTheAbsURIRef = std::move(aTheAbsURIRef);
return true;
}