diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-07 20:58:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-08 16:29:12 +0200 |
commit | b4564b803bd00ce7b0db29725576e95538d2d980 (patch) | |
tree | 596e54d7e3becba2d674a4e86f6d30ce1064ef16 /svx | |
parent | 22802bf3c32e0ea6e1ebf59bca824a9b6b9279ae (diff) |
cid#1608336 COPY_INSTEAD_OF_MOVE
Change-Id: I71288cc765b4bcdda35a2a1415537966018806ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170125
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index ec18025b9b01..1dd2b13c53ee 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -1328,9 +1328,9 @@ void GalleryBrowser1::DispatchAdd( SVXGALLERYITEM_ARGNAME, aSeq) }; std::unique_ptr<DispatchInfo> pInfo(new DispatchInfo); - pInfo->TargetURL = aURL; - pInfo->Arguments = aArgs; - pInfo->Dispatch = xDispatch; + pInfo->TargetURL = std::move(aURL); + pInfo->Arguments = std::move(aArgs); + pInfo->Dispatch = std::move(xDispatch); if ( Application::PostUserEvent( LINK( nullptr, GalleryBrowser1, AsyncDispatch_Impl), pInfo.get() ) ) |