summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-12-15 22:46:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-12-19 20:46:47 +0000
commit0152535649bf6827767af47e115580b2cc1906f6 (patch)
tree868a421a52282ce62ba73295728457fadec63728 /include
parented5e0a90aa445f5380a245a203caee6518d483cd (diff)
tdf#104488 editeng,svx: throw less Accessible exceptions
For some of these functions it doesn't make sense to throw DisposedException as they can return a sensible default value. Particularly AccessibleShape::getAccessibleChildCount() was throwing an exception that was never caught. (cherry picked from commit 5a3b2111172f106378cbf78aba0fde1db3642275) loplugin:unnecessaryoverride (cherry picked from commit 10bf49c18d56f198e63514953a1c6e2ea17fcc9c) Reviewed-on: https://gerrit.libreoffice.org/32187 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 0dd9e51abc5705b7ae253d3f9b284136cf1597d6) Change-Id: I000149cf9bb0fd13f69650ad8224a8daf26f7bee Reviewed-on: https://gerrit.libreoffice.org/32201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/AccessibleContextBase.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx
index 7f414ebe00dc..4fb4389cc80a 100644
--- a/include/editeng/AccessibleContextBase.hxx
+++ b/include/editeng/AccessibleContextBase.hxx
@@ -266,12 +266,6 @@ public:
//===== XTypeProvider ===================================================
- /** Returns a sequence of all supported interfaces.
- */
- virtual css::uno::Sequence< css::uno::Type> SAL_CALL
- getTypes()
- throw (css::uno::RuntimeException, std::exception) override;
-
/** Returns a implementation id.
*/
virtual css::uno::Sequence<sal_Int8> SAL_CALL