From ee585cc86d975c6ed987cc4d83101d0928f725c5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Feb 2014 12:10:21 +0100 Subject: cid#983607 unexpected std::exception Change-Id: I0de931d79548505ca7d26ffdfb560cfd5c6105a9 --- binaryurp/source/bridgefactory.cxx | 3 ++- binaryurp/source/bridgefactory.hxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'binaryurp') diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx index 34182b354c0a..06adb3a7fde5 100644 --- a/binaryurp/source/bridgefactory.cxx +++ b/binaryurp/source/bridgefactory.cxx @@ -21,6 +21,7 @@ #include #include +#include #include "com/sun/star/connection/XConnection.hpp" #include "com/sun/star/uno/Exception.hpp" @@ -110,7 +111,7 @@ css::uno::Reference< css::bridge::XBridge > BridgeFactory::createBridge( anInstanceProvider) throw ( css::bridge::BridgeExistsException, css::lang::IllegalArgumentException, - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { rtl::Reference< Bridge > b; { diff --git a/binaryurp/source/bridgefactory.hxx b/binaryurp/source/bridgefactory.hxx index a949e636402e..79150bcffed1 100644 --- a/binaryurp/source/bridgefactory.hxx +++ b/binaryurp/source/bridgefactory.hxx @@ -22,6 +22,7 @@ #include "sal/config.h" +#include #include #include @@ -102,7 +103,7 @@ private: throw ( com::sun::star::bridge::BridgeExistsException, com::sun::star::lang::IllegalArgumentException, - com::sun::star::uno::RuntimeException); + com::sun::star::uno::RuntimeException, std::exception); virtual com::sun::star::uno::Reference< com::sun::star::bridge::XBridge > SAL_CALL getBridge( -- cgit v1.2.3