summaryrefslogtreecommitdiff
path: root/ucb/source/ucp
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-16 08:29:53 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-16 15:13:41 +0200
commit2f81046033bb4082f888edfa94685d2dcc2689aa (patch)
tree33db4747aec33879cc880795e217243f7782545a /ucb/source/ucp
parent671290e8054366997e512572b2e4e38efbf95f80 (diff)
cid#1554709 COPY_INSTEAD_OF_MOVE
and cid#1554745 COPY_INSTEAD_OF_MOVE cid#1554758 COPY_INSTEAD_OF_MOVE cid#1554766 COPY_INSTEAD_OF_MOVE cid#1554771 COPY_INSTEAD_OF_MOVE cid#1554787 COPY_INSTEAD_OF_MOVE cid#1554802 COPY_INSTEAD_OF_MOVE cid#1554820 COPY_INSTEAD_OF_MOVE cid#1554828 COPY_INSTEAD_OF_MOVE cid#1554829 COPY_INSTEAD_OF_MOVE cid#1554832 COPY_INSTEAD_OF_MOVE cid#1554842 COPY_INSTEAD_OF_MOVE cid#1554885 COPY_INSTEAD_OF_MOVE Change-Id: I43ec20250a04dc087f3d7fdeafc75f0c1dd0de25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170542 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index ecf91d57bbfd..aac57a638d7e 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -169,7 +169,7 @@ rtl::Reference<Content> Content::create(
uno::Reference< ucb::XContentIdentifier > xId
= new ::ucbhelper::ContentIdentifier( aURI.getUri() );
- return new Content( rxContext, pProvider, xId, xPackage, aURI, std::move(aProps) );
+ return new Content( rxContext, pProvider, xId, xPackage, std::move(aURI), std::move(aProps) );
}
else
{
@@ -191,7 +191,7 @@ rtl::Reference<Content> Content::create(
else
aInfo.Type = getContentType( aURI.getScheme(), false );
- return new Content( rxContext, pProvider, xId, xPackage, aURI, aInfo );
+ return new Content( rxContext, pProvider, xId, xPackage, std::move(aURI), std::move(aInfo) );
}
}