summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/protocolhandler/scripthandler.cxx2
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 );