diff options
Diffstat (limited to 'scripting/source/provider/ActiveMSPList.cxx')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index 6b1da6093352..5411b5a474ef 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -218,10 +218,11 @@ Reference< provider::XScriptProvider > } catch( const Exception& ) { + css::uno::Any anyEx = cppu::getCaughtException(); throw lang::WrappedTargetRuntimeException( "Failed to create MasterScriptProvider for context '" + context + "'.", - *this, ::cppu::getCaughtException() ); + *this, anyEx ); } return msp; } |