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

Caolán McNamara caolanm at redhat.com
Sat Jul 4 12:00:21 PDT 2015


 ucb/source/core/ucb.hxx     |    2 +-
 ucb/source/core/ucbcmds.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0c2073abe84061a013828775dc5e2d42b85ffdfe
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jul 4 19:59:40 2015 +0100

    coverity#1309265 Uncaught exception
    
    Change-Id: I879b55c919edff1e146edd8a83bce6e5e9e699b5

diff --git a/ucb/source/core/ucb.hxx b/ucb/source/core/ucb.hxx
index 784c055..dc5ffcf 100644
--- a/ucb/source/core/ucb.hxx
+++ b/ucb/source/core/ucb.hxx
@@ -200,7 +200,7 @@ private:
             const com::sun::star::ucb::GlobalTransferCommandArgument2 & rArg,
             const com::sun::star::uno::Reference<
                  com::sun::star::ucb::XCommandEnvironment >& xEnv )
-        throw( com::sun::star::uno::Exception );
+        throw( com::sun::star::uno::Exception, std::exception );
 
     com::sun::star::uno::Any checkIn( const com::sun::star::ucb::CheckinArgument& rArg,
             const com::sun::star::uno::Reference<
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index 249d8d8..2c652e2 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -1684,7 +1684,7 @@ UniversalContentBroker::getCommandInfo()
 void UniversalContentBroker::globalTransfer(
             const ucb::GlobalTransferCommandArgument2 & rArg,
             const uno::Reference< ucb::XCommandEnvironment > & xEnv )
-    throw( uno::Exception )
+    throw( uno::Exception, std::exception )
 {
     // Use own command environment with own interaction handler intercepting
     // some interaction requests that shall not be handled by the user-supplied


More information about the Libreoffice-commits mailing list