diff options
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/clickableimage.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx index ab3cfe52d83b..d110b36f1524 100644 --- a/forms/source/component/clickableimage.cxx +++ b/forms/source/component/clickableimage.cxx @@ -43,6 +43,7 @@ #include <osl/mutex.hxx> #include <services.hxx> #include <comphelper/listenernotification.hxx> +#include <cppuhelper/exc_hlp.hxx> #include <svtools/imageresourceaccess.hxx> #define LOCAL_URL_PREFIX '#' @@ -422,10 +423,11 @@ namespace frm // allowed to leave throw; } - catch( const Exception& e ) + catch( const Exception& ) { + css::uno::Any anyEx = cppu::getCaughtException(); OSL_FAIL( "OClickableImageBaseControl::implSubmit: caught an unknown exception!" ); - throw WrappedTargetException( OUString(), *this, makeAny( e ) ); + throw WrappedTargetException( OUString(), *this, anyEx ); } } |