scripting/source/protocolhandler/scripthandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e5b1b02e7e31583aff0d2300b8815aa8407c6fe4 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Aug 26 08:49:45 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Aug 26 16:30:58 2024 +0200 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.mcnam...@collabora.com> 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 );