[Libreoffice-commits] core.git: binaryurp/source

Stephan Bergmann sbergman at redhat.com
Thu Feb 13 12:10:57 CET 2014


 binaryurp/source/bridgefactory.cxx |    3 ++-
 binaryurp/source/bridgefactory.hxx |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit ee585cc86d975c6ed987cc4d83101d0928f725c5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 13 12:10:21 2014 +0100

    cid#983607 unexpected std::exception
    
    Change-Id: I0de931d79548505ca7d26ffdfb560cfd5c6105a9

diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index 34182b3..06adb3a 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -21,6 +21,7 @@
 
 #include <algorithm>
 #include <cassert>
+#include <exception>
 
 #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 a949e63..79150bc 100644
--- a/binaryurp/source/bridgefactory.hxx
+++ b/binaryurp/source/bridgefactory.hxx
@@ -22,6 +22,7 @@
 
 #include "sal/config.h"
 
+#include <exception>
 #include <list>
 #include <map>
 
@@ -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(


More information about the Libreoffice-commits mailing list