diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-03-02 08:10:14 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-03-02 08:11:03 +0100 |
commit | 9330b97595ff899dbea40ced6656f8c39c76c959 (patch) | |
tree | 4b6df9543269a40cc41641878f8ea3d64c63e965 /dbaccess | |
parent | 380b858de9f6aae1ee74d3d8f0f7cf75fb68f207 (diff) |
fdo#61564 when WrappedTargetException not in specification, do not throw it!
Change-Id: Id3c995557f320b1d0241f0ef5d94b1c9aeb66528
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/documentcontainer.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx b/dbaccess/source/core/dataaccess/documentcontainer.cxx index 90a8af52dd72..a902640ecfd9 100644 --- a/dbaccess/source/core/dataaccess/documentcontainer.cxx +++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx @@ -39,6 +39,7 @@ #include "core_resource.hxx" #include "core_resource.hrc" #include <comphelper/namedvaluecollection.hxx> +#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> @@ -558,9 +559,9 @@ Reference< XComponent > SAL_CALL ODocumentContainer::loadComponentFromURL( const { throw IllegalArgumentException(); } - catch(const WrappedTargetException&) + catch(const WrappedTargetException &e) { - throw; + throw WrappedTargetRuntimeException(e.Message, e.Context, e.TargetException); } return xComp; } |