[Libreoffice-commits] core.git: editeng/source include/editeng

Stephan Bergmann sbergman at redhat.com
Fri Dec 16 09:38:06 UTC 2016


 editeng/source/accessibility/AccessibleContextBase.cxx |    9 ---------
 include/editeng/AccessibleContextBase.hxx              |    6 ------
 2 files changed, 15 deletions(-)

New commits:
commit 10bf49c18d56f198e63514953a1c6e2ea17fcc9c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Dec 16 10:37:26 2016 +0100

    loplugin:unnecessaryoverride
    
    Change-Id: I24a0e495b64a1db8b7c45f3c68e06ad3301bd9c4

diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index 1b92baa..7b80e9c 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -437,15 +437,6 @@ uno::Sequence< OUString > SAL_CALL
 
 // XTypeProvider
 
-uno::Sequence< css::uno::Type>
-    AccessibleContextBase::getTypes()
-    throw (css::uno::RuntimeException, std::exception)
-{
-    // This class supports no interfaces on its own.  Just return those
-    // supported by the base class.
-    return WeakComponentImplHelper::getTypes();
-}
-
 uno::Sequence<sal_Int8> SAL_CALL
     AccessibleContextBase::getImplementationId()
     throw (css::uno::RuntimeException, std::exception)
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx
index dc0c19a..24bb87e 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


More information about the Libreoffice-commits mailing list