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

Caolán McNamara caolanm at redhat.com
Thu Oct 27 20:36:26 UTC 2016


 forms/source/component/Hidden.cxx |    2 +-
 forms/source/component/Hidden.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6e14070332bd3920c49e8802fcd48099cda4b190
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:34:57 2016 +0100

    coverity#1374316 Uncaught exception
    
    Change-Id: I32f872d74f167604de006f1d77a9219a37011bfa

diff --git a/forms/source/component/Hidden.cxx b/forms/source/component/Hidden.cxx
index 2816bfd..92953dd 100644
--- a/forms/source/component/Hidden.cxx
+++ b/forms/source/component/Hidden.cxx
@@ -90,7 +90,7 @@ void OHiddenModel::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle, const An
 
 sal_Bool OHiddenModel::convertFastPropertyValue(
             Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
-            throw (IllegalArgumentException)
+            throw (IllegalArgumentException, RuntimeException, std::exception)
 {
     bool bModified(false);
     switch (_nHandle)
diff --git a/forms/source/component/Hidden.hxx b/forms/source/component/Hidden.hxx
index 091ffb8..28952ca 100644
--- a/forms/source/component/Hidden.hxx
+++ b/forms/source/component/Hidden.hxx
@@ -40,7 +40,7 @@ public:
                 throw (css::uno::Exception, std::exception) override;
     virtual sal_Bool SAL_CALL convertFastPropertyValue(
                 css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue )
-                throw (css::lang::IllegalArgumentException) override;
+                throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
 
     // XServiceInfo
     OUString SAL_CALL getImplementationName()


More information about the Libreoffice-commits mailing list