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

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


 forms/source/component/Date.cxx          |    2 +-
 forms/source/component/Date.hxx          |    2 +-
 forms/source/component/File.cxx          |    2 +-
 forms/source/component/File.hxx          |    2 +-
 forms/source/component/ListBox.cxx       |    2 +-
 forms/source/component/ListBox.hxx       |    2 +-
 forms/source/component/Time.cxx          |    2 +-
 forms/source/component/Time.hxx          |    2 +-
 forms/source/component/navigationbar.cxx |    2 +-
 forms/source/component/navigationbar.hxx |    2 +-
 forms/source/richtext/richtextmodel.cxx  |    2 +-
 forms/source/richtext/richtextmodel.hxx  |    2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 798c107a1afa6e22a0de97c49d0bda552913e56a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:47:03 2016 +0100

    coverity#1374310 Uncaught exception
    
    Change-Id: Ie0ae4412d42d15e2c6c52a8cb0b7b3893405a16b

diff --git a/forms/source/component/File.cxx b/forms/source/component/File.cxx
index 2ecbe38..497aa6b 100644
--- a/forms/source/component/File.cxx
+++ b/forms/source/component/File.cxx
@@ -168,7 +168,7 @@ void OFileControlModel::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, cons
 
 
 sal_Bool OFileControlModel::convertFastPropertyValue(Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue)
-                            throw( IllegalArgumentException )
+                            throw( IllegalArgumentException, RuntimeException, std::exception )
 {
     switch (nHandle)
     {
diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx
index 04cd3f7..a3888b5 100644
--- a/forms/source/component/File.hxx
+++ b/forms/source/component/File.hxx
@@ -57,7 +57,7 @@ public:
     virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) 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;
 
     virtual css::uno::Any getPropertyDefaultByHandle( sal_Int32 _nHandle ) const override;
 
commit f20a45808f85ab83f7b4d5b0e1ea86d493031fef
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:46:19 2016 +0100

    coverity#1374311 Uncaught exception
    
    Change-Id: I3f0e2fdfbf3c0517593ef87bc7bcbfe2ee693eef

diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx
index d412304..317eaad 100644
--- a/forms/source/component/Time.cxx
+++ b/forms/source/component/Time.cxx
@@ -172,7 +172,7 @@ void SAL_CALL OTimeModel::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle
 
 
 sal_Bool SAL_CALL OTimeModel::convertFastPropertyValue(Any& _rConvertedValue, Any& _rOldValue,
-        sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException)
+        sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException, RuntimeException, std::exception)
 {
     if (PROPERTY_ID_FORMATKEY == _nHandle)
         return convertFormatKeyPropertyValue(_rConvertedValue, _rOldValue, _rValue);
diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx
index 8c14e6c..5a3f599 100644
--- a/forms/source/component/Time.hxx
+++ b/forms/source/component/Time.hxx
@@ -48,7 +48,7 @@ public:
     virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const 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;
     virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) override;
 
     // css::lang::XServiceInfo
commit 7580c5e5bd8d71fea12a02d1ef554b0dea78c965
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:45:06 2016 +0100

    coverity#1374312 Uncaught exception
    
    Change-Id: I901c5399cdc33d55c4d3bdfa7a566adc74340405

diff --git a/forms/source/component/navigationbar.cxx b/forms/source/component/navigationbar.cxx
index a70f2cf..8b1a102 100644
--- a/forms/source/component/navigationbar.cxx
+++ b/forms/source/component/navigationbar.cxx
@@ -341,7 +341,7 @@ namespace frm
 
 
     sal_Bool SAL_CALL ONavigationBarModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue,
-        sal_Int32 _nHandle, const Any& _rValue ) throw( IllegalArgumentException )
+        sal_Int32 _nHandle, const Any& _rValue ) throw( IllegalArgumentException, RuntimeException, std::exception )
     {
         bool bModified = false;
 
diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx
index 536a1ca..7c165b1 100644
--- a/forms/source/component/navigationbar.hxx
+++ b/forms/source/component/navigationbar.hxx
@@ -92,7 +92,7 @@ namespace frm
         virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const 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;
         virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) override;
 
         // XPropertyState
commit 3cc1a10c7b98c82d209108a59e10000f6ec3dcdc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:41:47 2016 +0100

    coverity#1374313 Uncaught exception
    
    Change-Id: I9562deb23324f44b16735b0d376b4c37e20c58c1

diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx
index 1c1f6c0..e4f9874 100644
--- a/forms/source/component/Date.cxx
+++ b/forms/source/component/Date.cxx
@@ -181,7 +181,7 @@ void SAL_CALL ODateModel::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle
 
 
 sal_Bool SAL_CALL ODateModel::convertFastPropertyValue(Any& _rConvertedValue, Any& _rOldValue,
-        sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException)
+        sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException, RuntimeException, std::exception)
 {
     if (PROPERTY_ID_FORMATKEY == _nHandle)
         return convertFormatKeyPropertyValue(_rConvertedValue, _rOldValue, _rValue);
diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx
index 401e652..b819016 100644
--- a/forms/source/component/Date.hxx
+++ b/forms/source/component/Date.hxx
@@ -47,7 +47,7 @@ public:
     virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const 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;
     virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) override;
 
     // XServiceInfo
commit 2d96f3a582383205cd2f891b1001b11970cec316
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:39:32 2016 +0100

    coverity#1374314 Uncaught exception
    
    Change-Id: I07a39774a1372ea26e8d66376c27d3b98229892e

diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx
index 7949880..928dfc3 100644
--- a/forms/source/richtext/richtextmodel.cxx
+++ b/forms/source/richtext/richtextmodel.cxx
@@ -329,7 +329,7 @@ namespace frm
     }
 
 
-    sal_Bool SAL_CALL ORichTextModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw( IllegalArgumentException )
+    sal_Bool SAL_CALL ORichTextModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw( IllegalArgumentException, RuntimeException, std::exception )
     {
         bool bModified = false;
 
diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx
index f3c1085..4325dd6 100644
--- a/forms/source/richtext/richtextmodel.hxx
+++ b/forms/source/richtext/richtextmodel.hxx
@@ -131,7 +131,7 @@ namespace frm
         virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const 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;
         virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) override;
         virtual css::uno::Any getPropertyDefaultByHandle( sal_Int32 nHandle ) const override;
 
commit db337150cd89c36f181ff5689fcd5c8a45e84829
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 21:37:42 2016 +0100

    coverity#1374315 Uncaught exception
    
    Change-Id: Id7a01c652d1d11675b87ee732ff40ddd76de6236

diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index e40dea9..fcfe5c8 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -390,7 +390,7 @@ namespace frm
 
     sal_Bool OListBoxModel::convertFastPropertyValue(
         Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
-        throw (IllegalArgumentException, std::exception)
+        throw (IllegalArgumentException, RuntimeException, std::exception)
     {
         bool bModified(false);
         switch (_nHandle)
diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx
index 0df57d6..ec18eb9 100644
--- a/forms/source/component/ListBox.hxx
+++ b/forms/source/component/ListBox.hxx
@@ -146,7 +146,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, std::exception) override;
+                throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
 
 protected:
     static const ::connectivity::ORowSetValue s_aEmptyValue;


More information about the Libreoffice-commits mailing list