diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-26 08:49:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-26 16:30:58 +0200 |
commit | e5b1b02e7e31583aff0d2300b8815aa8407c6fe4 (patch) | |
tree | d91a5484feb04d13427ade8b7b88b8bd7c87d9c8 /scripting/source | |
parent | 39de116b733685881f0defe9cc10070c826ad9c2 (diff) |
cid#1554835 COPY_INSTEAD_OF_MOVE
Change-Id: Ic9e07bb0f571b89af2c8b2dd9ca0a660dfb1b1e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172384
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index f4217b820f13..d108cdac7c30 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -225,7 +225,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification( if ( !inArgs.hasElements() ) // no chance to retry if we can't strip more in-args - std::rethrow_exception(aFirstCaughtException); + std::rethrow_exception(std::move(aFirstCaughtException)); // strip one argument, then retry inArgs.realloc( inArgs.getLength() - 1 ); |