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

Noel Grandin noel.grandin at collabora.co.uk
Thu Mar 29 06:37:55 UTC 2018


 editeng/source/accessibility/AccessibleContextBase.cxx |    6 ------
 include/editeng/AccessibleContextBase.hxx              |    9 ---------
 include/svx/AccessibleShape.hxx                        |    2 +-
 sd/source/ui/inc/AccessibleDocumentViewBase.hxx        |    2 +-
 4 files changed, 2 insertions(+), 17 deletions(-)

New commits:
commit 6a6380b7d692a3389516b59205671aa7d53d6920
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Mar 28 21:37:04 2018 +0200

    loplugin:virtualdown in editeng
    
    Change-Id: Id86a38521fe287a824bdda4b0fd2d68e97ae1b73
    Reviewed-on: https://gerrit.libreoffice.org/52036
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index 8a0c8e4bfc6d..d4e8d018a0a1 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -474,12 +474,6 @@ void AccessibleContextBase::SetAccessibleName (
 }
 
 
-OUString AccessibleContextBase::CreateAccessibleDescription()
-{
-    return OUString("Empty Description");
-}
-
-
 OUString AccessibleContextBase::CreateAccessibleName()
 {
     return OUString("Empty Name");
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx
index 54ef0184c4a3..106d5d0a064f 100644
--- a/include/editeng/AccessibleContextBase.hxx
+++ b/include/editeng/AccessibleContextBase.hxx
@@ -279,15 +279,6 @@ protected:
     */
     virtual OUString CreateAccessibleName();
 
-    /** Create the accessible object's descriptive string.  May be called
-        more than once.
-        @return
-            Descriptive string.  Not necessarily unique.
-        @throws css::uno::RuntimeException
-    */
-    virtual OUString
-        CreateAccessibleDescription();
-
     void FireEvent (const css::accessibility::AccessibleEventObject& aEvent);
 
     /** Check whether or not the object has been disposed (or is in the
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index 71842073ffdf..e1af1501bf7f 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -420,7 +420,7 @@ protected:
 
     /// Create a description string that contains the accessible description.
     virtual OUString
-        CreateAccessibleDescription() override;
+        CreateAccessibleDescription();
     /// @throws css::uno::RuntimeException
     OUString
        GetFullAccessibleName(AccessibleShape *shape);
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
index d8453c1f9d81..31d7c0db0ccc 100644
--- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
+++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
@@ -294,7 +294,7 @@ protected:
            A description string.
     */
     virtual OUString
-        CreateAccessibleDescription () override;
+        CreateAccessibleDescription ();
 
     /** This method is called when (after) the frame containing this
         document has been activated.  Can be used to send FOCUSED state


More information about the Libreoffice-commits mailing list