summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleDocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleDocument.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx41
1 files changed, 4 insertions, 37 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 2416aa27b510..6ee818cb4aa1 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -266,14 +266,12 @@ public:
const css::uno::Reference< css::drawing::XShape >& _rxShape,
const long _nIndex,
const ::accessibility::AccessibleShapeTreeInfo& _rShapeTreeInfo
- ) throw (css::uno::RuntimeException) override;
+ ) override;
virtual ::accessibility::AccessibleControlShape* GetAccControlShapeFromModel
- (css::beans::XPropertySet* pSet)
- throw (css::uno::RuntimeException) override;
+ (css::beans::XPropertySet* pSet) override;
virtual css::uno::Reference< css::accessibility::XAccessible>
- GetAccessibleCaption (const css::uno::Reference<css::drawing::XShape>& xShape)
- throw (css::uno::RuntimeException) override;
+ GetAccessibleCaption (const css::uno::Reference<css::drawing::XShape>& xShape) override;
///===== Internal ========================================================
void SetDrawBroadcaster();
@@ -464,7 +462,6 @@ void ScChildrenShapes::Notify(SfxBroadcaster&, const SfxHint& rHint)
bool ScChildrenShapes::ReplaceChild (::accessibility::AccessibleShape* pCurrentChild,
const css::uno::Reference< css::drawing::XShape >& _rxShape,
const long /*_nIndex*/, const ::accessibility::AccessibleShapeTreeInfo& _rShapeTreeInfo)
- throw (uno::RuntimeException)
{
// create the new child
rtl::Reference< ::accessibility::AccessibleShape > pReplacement(::accessibility::ShapeTypeHandler::Instance().CreateAccessibleObject (
@@ -507,7 +504,7 @@ bool ScChildrenShapes::ReplaceChild (::accessibility::AccessibleShape* pCurrentC
return bResult;
}
-::accessibility::AccessibleControlShape * ScChildrenShapes::GetAccControlShapeFromModel(css::beans::XPropertySet* pSet) throw (css::uno::RuntimeException)
+::accessibility::AccessibleControlShape * ScChildrenShapes::GetAccControlShapeFromModel(css::beans::XPropertySet* pSet)
{
sal_Int32 count = GetCount();
for (sal_Int32 index=0;index<count;index++)
@@ -529,7 +526,6 @@ bool ScChildrenShapes::ReplaceChild (::accessibility::AccessibleShape* pCurrentC
css::uno::Reference < css::accessibility::XAccessible >
ScChildrenShapes::GetAccessibleCaption (const css::uno::Reference < css::drawing::XShape>& xShape)
- throw (css::uno::RuntimeException)
{
sal_Int32 count = GetCount();
for (sal_Int32 index=0;index<count;index++)
@@ -1468,7 +1464,6 @@ void SAL_CALL ScAccessibleDocument::disposing()
}
void SAL_CALL ScAccessibleDocument::disposing( const lang::EventObject& /* Source */ )
- throw (uno::RuntimeException, std::exception)
{
disposing();
}
@@ -1648,7 +1643,6 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
void SAL_CALL ScAccessibleDocument::selectionChanged( const lang::EventObject& /* aEvent */ )
- throw (uno::RuntimeException, std::exception)
{
bool bSelectionChanged(false);
if (mpAccessibleSpreadsheet.is())
@@ -1678,7 +1672,6 @@ void SAL_CALL ScAccessibleDocument::selectionChanged( const lang::EventObject& /
//===== XInterface =====================================================
uno::Any SAL_CALL ScAccessibleDocument::queryInterface( uno::Type const & rType )
- throw (uno::RuntimeException, std::exception)
{
uno::Any aAnyTmp;
if(rType == cppu::UnoType<XAccessibleGetAccFlowTo>::get())
@@ -1707,7 +1700,6 @@ void SAL_CALL ScAccessibleDocument::release()
uno::Reference< XAccessible > SAL_CALL ScAccessibleDocument::getAccessibleAtPoint(
const awt::Point& rPoint )
- throw (uno::RuntimeException, std::exception)
{
uno::Reference<XAccessible> xAccessible = nullptr;
if (containsPoint(rPoint))
@@ -1737,7 +1729,6 @@ uno::Reference< XAccessible > SAL_CALL ScAccessibleDocument::getAccessibleAtPoin
}
void SAL_CALL ScAccessibleDocument::grabFocus( )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1763,7 +1754,6 @@ void SAL_CALL ScAccessibleDocument::grabFocus( )
/// Return the number of currently visible children.
sal_Int32 SAL_CALL
ScAccessibleDocument::getAccessibleChildCount()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1780,8 +1770,6 @@ sal_Int32 SAL_CALL
/// Return the specified child or NULL if index is invalid.
uno::Reference<XAccessible> SAL_CALL
ScAccessibleDocument::getAccessibleChild(sal_Int32 nIndex)
- throw (uno::RuntimeException,
- lang::IndexOutOfBoundsException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1812,7 +1800,6 @@ uno::Reference<XAccessible> SAL_CALL
/// Return the set of current states.
uno::Reference<XAccessibleStateSet> SAL_CALL
ScAccessibleDocument::getAccessibleStateSet()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference<XAccessibleStateSet> xParentStates;
@@ -1839,7 +1826,6 @@ uno::Reference<XAccessibleStateSet> SAL_CALL
OUString SAL_CALL
ScAccessibleDocument::getAccessibleName()
- throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1875,7 +1861,6 @@ OUString SAL_CALL
void SAL_CALL
ScAccessibleDocument::selectAccessibleChild( sal_Int32 nChildIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1909,7 +1894,6 @@ void SAL_CALL
sal_Bool SAL_CALL
ScAccessibleDocument::isAccessibleChildSelected( sal_Int32 nChildIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1942,7 +1926,6 @@ sal_Bool SAL_CALL
void SAL_CALL
ScAccessibleDocument::clearAccessibleSelection( )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1953,7 +1936,6 @@ void SAL_CALL
void SAL_CALL
ScAccessibleDocument::selectAllAccessibleChildren( )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1970,7 +1952,6 @@ void SAL_CALL
sal_Int32 SAL_CALL
ScAccessibleDocument::getSelectedAccessibleChildCount( )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -1990,7 +1971,6 @@ sal_Int32 SAL_CALL
uno::Reference<XAccessible > SAL_CALL
ScAccessibleDocument::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -2018,7 +1998,6 @@ uno::Reference<XAccessible > SAL_CALL
void SAL_CALL
ScAccessibleDocument::deselectAccessibleChild( sal_Int32 nChildIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -2051,14 +2030,12 @@ void SAL_CALL
OUString SAL_CALL
ScAccessibleDocument::getImplementationName()
- throw (uno::RuntimeException, std::exception)
{
return OUString("ScAccessibleDocument");
}
uno::Sequence< OUString> SAL_CALL
ScAccessibleDocument::getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames();
sal_Int32 nOldSize(aSequence.getLength());
@@ -2072,14 +2049,12 @@ uno::Sequence< OUString> SAL_CALL
//===== XTypeProvider =======================================================
uno::Sequence< uno::Type > SAL_CALL ScAccessibleDocument::getTypes()
- throw (uno::RuntimeException, std::exception)
{
return comphelper::concatSequences(ScAccessibleDocumentImpl::getTypes(), ScAccessibleContextBase::getTypes());
}
uno::Sequence<sal_Int8> SAL_CALL
ScAccessibleDocument::getImplementationId()
- throw (uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
@@ -2149,7 +2124,6 @@ utl::AccessibleRelationSetHelper* ScAccessibleDocument::GetRelationSet(const ScA
OUString SAL_CALL
ScAccessibleDocument::createAccessibleDescription()
- throw (uno::RuntimeException, std::exception)
{
OUString sDescription = OUString(ScResId(STR_ACC_DOC_DESCR));
return sDescription;
@@ -2157,7 +2131,6 @@ OUString SAL_CALL
OUString SAL_CALL
ScAccessibleDocument::createAccessibleName()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -2168,7 +2141,6 @@ OUString SAL_CALL
}
Rectangle ScAccessibleDocument::GetBoundingBoxOnScreen() const
- throw (uno::RuntimeException, std::exception)
{
Rectangle aRect;
if (mpViewShell)
@@ -2181,7 +2153,6 @@ Rectangle ScAccessibleDocument::GetBoundingBoxOnScreen() const
}
Rectangle ScAccessibleDocument::GetBoundingBox() const
- throw (uno::RuntimeException, std::exception)
{
Rectangle aRect;
if (mpViewShell)
@@ -2307,7 +2278,6 @@ ScAddress ScAccessibleDocument::GetCurCellAddress() const
}
uno::Any SAL_CALL ScAccessibleDocument::getExtendedAttributes()
- throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -2384,7 +2354,6 @@ css::uno::Sequence< css::uno::Any > ScAccessibleDocument::GetScAccFlowToSequence
css::uno::Sequence< css::uno::Any >
SAL_CALL ScAccessibleDocument::getAccFlowTo(const css::uno::Any& rAny, sal_Int32 nType)
- throw ( css::uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -2480,13 +2449,11 @@ css::uno::Sequence< css::uno::Any >
}
sal_Int32 SAL_CALL ScAccessibleDocument::getForeground( )
- throw (uno::RuntimeException, std::exception)
{
return COL_BLACK;
}
sal_Int32 SAL_CALL ScAccessibleDocument::getBackground( )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();