[Libreoffice-commits] core.git: 8 commits - sc/inc sc/source

Caolán McNamara caolanm at redhat.com
Sat Jan 25 06:21:16 PST 2014


 sc/inc/cellsuno.hxx                                  |   27 +++++++++++-----
 sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx |   20 ++++--------
 sc/source/ui/Accessibility/AccessibleTableBase.cxx   |   15 +++------
 sc/source/ui/inc/AccessibleSpreadsheet.hxx           |   10 +++---
 sc/source/ui/inc/AccessibleTableBase.hxx             |    8 +++-
 sc/source/ui/unoobj/cellsuno.cxx                     |   31 +++++++------------
 6 files changed, 56 insertions(+), 55 deletions(-)

New commits:
commit 5685b96509af906697c3f460c38eac8187a7a3a0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 14:18:02 2014 +0000

    coverity#1158352 Uncaught exception
    
    Change-Id: Idd0b4fae13523a0839ea2b42dce663277f586925

diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 6c94e6f..902f443 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -1181,7 +1181,8 @@ public:
     virtual void SAL_CALL   hideDetail( const ::com::sun::star::table::CellRangeAddress& aRange )
                                 throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL   showDetail( const ::com::sun::star::table::CellRangeAddress& aRange )
-                                throw(::com::sun::star::uno::RuntimeException);
+                                throw(::com::sun::star::uno::RuntimeException,
+                                      std::exception);
     virtual void SAL_CALL   showLevel( sal_Int16 nLevel,
                                 ::com::sun::star::table::TableOrientation nOrientation )
                                     throw(::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 8313b04..711c773 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -7934,7 +7934,7 @@ void SAL_CALL ScTableSheetObj::hideDetail( const table::CellRangeAddress& rCellR
 }
 
 void SAL_CALL ScTableSheetObj::showDetail( const table::CellRangeAddress& rCellRange )
-                                            throw(uno::RuntimeException)
+    throw(uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     ScDocShell* pDocSh = GetDocShell();
commit 6eddd93b430eeb7843a859dc296342b21b8c10ad
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 14:15:40 2014 +0000

    coverity#1158353 Uncaught exception
    
    Change-Id: Ib30c3f702a0f16922e5f7ab305bbe1f593714219

diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 82c3414..6c94e6f 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -1175,7 +1175,8 @@ public:
                                 ::com::sun::star::table::TableOrientation nOrientation )
                                     throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL   autoOutline( const ::com::sun::star::table::CellRangeAddress& aRange )
-                                throw(::com::sun::star::uno::RuntimeException);
+                                throw(::com::sun::star::uno::RuntimeException,
+                                      std::exception);
     virtual void SAL_CALL   clearOutline() throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL   hideDetail( const ::com::sun::star::table::CellRangeAddress& aRange )
                                 throw(::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 390af6d..8313b04 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -7894,7 +7894,7 @@ void SAL_CALL ScTableSheetObj::ungroup( const table::CellRangeAddress& rGroupRan
 }
 
 void SAL_CALL ScTableSheetObj::autoOutline( const table::CellRangeAddress& rCellRange )
-                                    throw(uno::RuntimeException)
+    throw(uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     ScDocShell* pDocSh = GetDocShell();
commit 6cb0a0733597a14fd3a806055f5c742349152c3e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 14:06:23 2014 +0000

    coverity#1158355 Uncaught exception
    
    Change-Id: Ie40808c0fe78beca5b9c30b3ea5d60452b3212a4

diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index d039d49..82c3414 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -223,7 +223,8 @@ protected:
                                 sal_uInt16 nItemWhich, const SfxItemPropertySimpleEntry* pEntry );
     virtual void            GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                 ::com::sun::star::uno::Any& )
-                                throw(::com::sun::star::uno::RuntimeException);
+                                throw(::com::sun::star::uno::RuntimeException,
+                                      std::exception);
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
@@ -618,7 +619,8 @@ protected:
     virtual const SfxItemPropertyMap& GetItemPropertyMap();
     virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                 ::com::sun::star::uno::Any& )
-                                throw(::com::sun::star::uno::RuntimeException);
+                                throw(::com::sun::star::uno::RuntimeException,
+                                      std::exception);
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
@@ -841,7 +843,8 @@ protected:
     virtual const SfxItemPropertyMap& GetItemPropertyMap();
     virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                 ::com::sun::star::uno::Any& )
-                                throw(::com::sun::star::uno::RuntimeException);
+                                throw(::com::sun::star::uno::RuntimeException,
+                                      std::exception);
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
@@ -1304,7 +1307,8 @@ protected:
     virtual const SfxItemPropertyMap& GetItemPropertyMap();
     virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                 ::com::sun::star::uno::Any& )
-                                throw(::com::sun::star::uno::RuntimeException);
+                                throw(::com::sun::star::uno::RuntimeException,
+                                      std::exception);
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 7ffb8ca..390af6d 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2462,9 +2462,8 @@ uno::Any SAL_CALL ScCellRangesBase::getPropertyValue( const OUString& aPropertyN
     return aAny;
 }
 
-void ScCellRangesBase::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
-                                                uno::Any& rAny )
-                                                throw(uno::RuntimeException)
+void ScCellRangesBase::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny )
+    throw(uno::RuntimeException, std::exception)
 {
     if ( pEntry )
     {
@@ -5992,9 +5991,8 @@ void ScCellRangeObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEnt
     ScCellRangesBase::SetOnePropertyValue( pEntry, aValue );
 }
 
-void ScCellRangeObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
-                                            uno::Any& rAny )
-                                                throw(uno::RuntimeException)
+void ScCellRangeObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny )
+    throw(uno::RuntimeException, std::exception)
 {
     if ( pEntry )
     {
@@ -6027,7 +6025,6 @@ void ScCellRangeObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEnt
         }
         else
             ScCellRangesBase::GetOnePropertyValue( pEntry, rAny );
-
     }
 }
 
@@ -6738,9 +6735,8 @@ void ScCellObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, c
     }
 }
 
-void ScCellObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
-                                        uno::Any& rAny )
-                                            throw(uno::RuntimeException)
+void ScCellObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny )
+    throw(uno::RuntimeException, std::exception)
 {
     if ( pEntry )
     {
@@ -9045,9 +9041,8 @@ void ScTableRowObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntr
     }
 }
 
-void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
-                                        uno::Any& rAny )
-                                                throw(uno::RuntimeException)
+void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny )
+    throw(uno::RuntimeException, std::exception)
 {
     if ( pEntry )
     {
commit cd1e7c75b7318ea482458e45cf91202067290a49
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 14:01:22 2014 +0000

    coverity#1158355 Uncaught exception
    
    Change-Id: I60dff924402b026c1f5d678ce81889396a0f8bd8

diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 1f89aa6..d039d49 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -227,7 +227,8 @@ protected:
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
-                                        ::com::sun::star::uno::RuntimeException);
+                                      ::com::sun::star::uno::RuntimeException,
+                                      std::exception);
 
 public:
                             ScCellRangesBase(ScDocShell* pDocSh, const ScRange& rR);
@@ -621,7 +622,8 @@ protected:
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
-                                        ::com::sun::star::uno::RuntimeException);
+                                      ::com::sun::star::uno::RuntimeException,
+                                      std::exception);
 
     ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell >
                             GetCellByPosition_Impl( sal_Int32 nColumn, sal_Int32 nRow )
@@ -1306,7 +1308,8 @@ protected:
     virtual void            SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
                                                 const ::com::sun::star::uno::Any& aValue )
                                 throw(::com::sun::star::lang::IllegalArgumentException,
-                                        ::com::sun::star::uno::RuntimeException);
+                                      ::com::sun::star::uno::RuntimeException,
+                                      std::exception);
 
 public:
                             ScTableRowObj(ScDocShell* pDocSh, SCROW nRow, SCTAB nTab);
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 3fe3fb0..7ffb8ca 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2265,7 +2265,7 @@ void SAL_CALL ScCellRangesBase::setPropertyValue(
 }
 
 void ScCellRangesBase::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const uno::Any& aValue )
-                                throw(lang::IllegalArgumentException, uno::RuntimeException)
+    throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
 {
     if ( pEntry )
     {
@@ -5984,7 +5984,7 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScCellRangeObj::getPropertySetI
 }
 
 void ScCellRangeObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const uno::Any& aValue )
-                                throw(lang::IllegalArgumentException, uno::RuntimeException)
+    throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
 {
     //  Range has only Position and Size in addition to ScCellRangesBase, both are ReadOnly
     //  -> nothing to do here
@@ -8970,7 +8970,7 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScTableRowObj::getPropertySetIn
 }
 
 void ScTableRowObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const uno::Any& aValue )
-                                throw(lang::IllegalArgumentException, uno::RuntimeException)
+    throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
 {
     if ( pEntry )
     {
commit b777fc2fdceee42d1ff52b495425b5f69ce680f5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 13:55:03 2014 +0000

    coverity#1158359 Uncaught exception
    
    Change-Id: I0428d5de262edde14950f7587803109e9a72fde7

diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index d42034e..62e5e1c 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -1116,9 +1116,8 @@ void SAL_CALL
     }
 }
 
-void SAL_CALL
-        ScAccessibleSpreadsheet::selectAllAccessibleChildren(  )
-        throw (uno::RuntimeException)
+void SAL_CALL ScAccessibleSpreadsheet::selectAllAccessibleChildren(  )
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     IsObjectValid();
diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
index 5737da2..b22b35e 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -422,9 +422,8 @@ void SAL_CALL
 {
 }
 
-void SAL_CALL
-        ScAccessibleTableBase::selectAllAccessibleChildren(  )
-        throw (uno::RuntimeException)
+void SAL_CALL ScAccessibleTableBase::selectAllAccessibleChildren()
+    throw (uno::RuntimeException, std::exception)
 {
 }
 
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 5d22a8a..1727dfd 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -192,7 +192,7 @@ private:
 
     virtual void SAL_CALL
         selectAllAccessibleChildren(  )
-        throw (::com::sun::star::uno::RuntimeException);
+        throw (::com::sun::star::uno::RuntimeException, std::exception);
 
     virtual sal_Int32 SAL_CALL
         getSelectedAccessibleChildCount(  )
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index 7ad878d..7d64e35 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -269,7 +269,7 @@ public:
 
     virtual void SAL_CALL
         selectAllAccessibleChildren(  )
-        throw (::com::sun::star::uno::RuntimeException);
+        throw (::com::sun::star::uno::RuntimeException, std::exception);
 
     virtual sal_Int32 SAL_CALL
         getSelectedAccessibleChildCount(  )
commit 71a0bb02fe9a3b144ccfe31ed45dedb67931dd02
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 13:53:46 2014 +0000

    coverity#1158360 Uncaught exception
    
    Change-Id: I88c2e0b8378fb41b9ad24cab9e8434817602e084

diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 85a0c7c..d42034e 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -985,9 +985,8 @@ sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleSelected( sal_Int32 nRow,
 
     //=====  XAccessibleComponent  ============================================
 
-uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleAtPoint(
-    const awt::Point& rPoint )
-        throw (uno::RuntimeException)
+uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleAtPoint(const awt::Point& rPoint)
+    throw (uno::RuntimeException, std::exception)
 {
     uno::Reference< XAccessible > xAccessible;
     if (containsPoint(rPoint))
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 3bc8f92..5d22a8a 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -153,7 +153,7 @@ private:
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
         SAL_CALL getAccessibleAtPoint(
         const ::com::sun::star::awt::Point& rPoint )
-        throw (::com::sun::star::uno::RuntimeException);
+        throw (::com::sun::star::uno::RuntimeException, std::exception);
 
     virtual void SAL_CALL grabFocus(  )
         throw (::com::sun::star::uno::RuntimeException);
commit f452945b4090a9b7103b3a50c8fc0dee29329738
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 13:52:26 2014 +0000

    coverity#1158361 Uncaught exception
    
    Change-Id: I65af9fd82027fd7a00e18631707f5300f488ac95

diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index e0652d7..85a0c7c 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -1087,9 +1087,8 @@ uno::Reference<XAccessibleStateSet> SAL_CALL
 
     ///=====  XAccessibleSelection  ===========================================
 
-void SAL_CALL
-        ScAccessibleSpreadsheet::selectAccessibleChild( sal_Int32 nChildIndex )
-        throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+void SAL_CALL ScAccessibleSpreadsheet::selectAccessibleChild( sal_Int32 nChildIndex )
+    throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     IsObjectValid();
diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
index 33b27e6..5737da2 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -401,9 +401,8 @@ uno::Reference<XAccessibleStateSet> SAL_CALL
 
     ///=====  XAccessibleSelection  ===========================================
 
-void SAL_CALL
-        ScAccessibleTableBase::selectAccessibleChild( sal_Int32 /* nChildIndex */ )
-        throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+void SAL_CALL ScAccessibleTableBase::selectAccessibleChild( sal_Int32 /* nChildIndex */ )
+    throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
 {
 }
 
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 640c236..3bc8f92 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -183,7 +183,8 @@ private:
     virtual void SAL_CALL
         selectAccessibleChild( sal_Int32 nChildIndex )
         throw (::com::sun::star::lang::IndexOutOfBoundsException,
-        ::com::sun::star::uno::RuntimeException);
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     virtual void SAL_CALL
         clearAccessibleSelection(  )
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index 90bf471..7ad878d 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -254,7 +254,8 @@ public:
     virtual void SAL_CALL
         selectAccessibleChild( sal_Int32 nChildIndex )
         throw (::com::sun::star::lang::IndexOutOfBoundsException,
-        ::com::sun::star::uno::RuntimeException);
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     virtual sal_Bool SAL_CALL
         isAccessibleChildSelected( sal_Int32 nChildIndex )
commit 7dd66ca901329c301a2802f31d3fb3397f9a8865
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 25 13:33:44 2014 +0000

    coverity#1158362 Uncaught exception
    
    Change-Id: I60c2b84a9114074bac159379be2cb0ad0e46fceb

diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 674638c..e0652d7 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -1208,9 +1208,8 @@ uno::Reference<XAccessible > SAL_CALL
     return xAccessible;
 }
 
-void SAL_CALL
-        ScAccessibleSpreadsheet::deselectAccessibleChild( sal_Int32 nChildIndex )
-        throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+void SAL_CALL ScAccessibleSpreadsheet::deselectAccessibleChild( sal_Int32 nChildIndex )
+    throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     IsObjectValid();
diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
index 8872c1d..33b27e6 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -445,9 +445,8 @@ uno::Reference<XAccessible > SAL_CALL
     return xAccessible;
 }
 
-void SAL_CALL
-        ScAccessibleTableBase::deselectAccessibleChild( sal_Int32 /* nSelectedChildIndex */ )
-        throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+void SAL_CALL ScAccessibleTableBase::deselectAccessibleChild( sal_Int32 /* nSelectedChildIndex */ )
+    throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
 {
 }
 
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 65f1318..640c236 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -206,7 +206,8 @@ private:
     virtual void SAL_CALL
         deselectAccessibleChild( sal_Int32 nChildIndex )
         throw (::com::sun::star::lang::IndexOutOfBoundsException,
-        ::com::sun::star::uno::RuntimeException);
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     ///=====  XServiceInfo  ====================================================
 
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index 672ab10..90bf471 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -283,7 +283,8 @@ public:
     virtual void SAL_CALL
         deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
         throw (::com::sun::star::lang::IndexOutOfBoundsException,
-        ::com::sun::star::uno::RuntimeException);
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     ///=====  XServiceInfo  ===================================================
 


More information about the Libreoffice-commits mailing list