diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-09 08:30:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-09 12:08:19 +0200 |
commit | 9bb112df79b6e17486d71e2c79d5eb44a16ad61f (patch) | |
tree | 580149badf0bbfebebeaf54c8dbe3a850f9b46f2 /desktop/source/deployment/misc | |
parent | 2f77f5e3444102dc7de2322b120af174582aee49 (diff) |
cid#1554685 COPY_INSTEAD_OF_MOVE
Change-Id: I9014693a2baa5dfe727e925f2aae170c11f4b8fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170188
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source/deployment/misc')
-rw-r--r-- | desktop/source/deployment/misc/dp_ucb.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/misc/dp_ucb.cxx b/desktop/source/deployment/misc/dp_ucb.cxx index fee38f7235a5..cb92c8bd76a5 100644 --- a/desktop/source/deployment/misc/dp_ucb.cxx +++ b/desktop/source/deployment/misc/dp_ucb.cxx @@ -62,7 +62,7 @@ bool create_ucb_content( if (ret_ucbContent != nullptr) { ucbContent.setCommandEnvironment( xCmdEnv ); - *ret_ucbContent = ucbContent; + *ret_ucbContent = std::move(ucbContent); } return true; } |