diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-10 08:58:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-10 08:58:07 +0000 |
commit | 52f6b1f49e29d1398be70561701d798502e57f3c (patch) | |
tree | 3c8e3cef287cbb5bc37e714cdc6b3b8fb22f5962 /scripting | |
parent | 8564b5beb1c49104d555e70d3c6134908fc0811f (diff) |
coverity#1398527 Uncaught exception
Change-Id: Id1c0273f7430ba525f231ed5bb9311c732935640
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 2a41e8ee573a..8267d5f3b965 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -615,7 +615,7 @@ namespace dlgprov Reference < XControl > DialogProviderImpl::createDialogImpl( const OUString& URL, const Reference< XInterface >& xHandler, const Reference< XWindowPeer >& xParent, bool bDialogProviderMode ) - throw (IllegalArgumentException, RuntimeException) + throw (IllegalArgumentException, RuntimeException, std::exception) { // if the dialog is located in a document, the document must already be open! diff --git a/scripting/source/dlgprov/dlgprov.hxx b/scripting/source/dlgprov/dlgprov.hxx index 868b7df9931b..f88d0c08e895 100644 --- a/scripting/source/dlgprov/dlgprov.hxx +++ b/scripting/source/dlgprov/dlgprov.hxx @@ -106,7 +106,7 @@ namespace dlgprov const css::uno::Reference< css::uno::XInterface >& xHandler, const css::uno::Reference< css::awt::XWindowPeer >& xParent, bool bDialogProviderMode ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); public: explicit DialogProviderImpl( |