diff options
Diffstat (limited to 'svx/source/xml/xmleohlp.cxx')
-rw-r--r-- | svx/source/xml/xmleohlp.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index c3f61476440e..a5058f1e7610 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -42,6 +42,7 @@ #include <comphelper/fileformat.h> #include <comphelper/classids.hxx> +#include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/implbase.hxx> #include <svx/xmleohlp.hxx> #include <map> @@ -564,11 +565,12 @@ OUString SAL_CALL SvXMLEmbeddedObjectHelper::resolveEmbeddedObjectURL(const OUSt { throw; } - catch (const Exception& e) + catch (const Exception&) { + css::uno::Any anyEx = cppu::getCaughtException(); throw WrappedTargetRuntimeException( "SvXMLEmbeddedObjectHelper::resolveEmbeddedObjectURL non-RuntimeException", - static_cast<uno::XWeak*>(this), uno::makeAny(e)); + static_cast<uno::XWeak*>(this), anyEx); } return sRet; } |