diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-21 14:35:04 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-21 21:37:06 +0200 |
commit | 0ae1c36f319b0c84d5e592f44738e67945eab3a1 (patch) | |
tree | b09b82ee432342ee20566c7a25c48a9e3e9c9a03 | |
parent | 508f5b7767210318f1a23efc6db928c87a5eca6f (diff) |
qt5 a11y: Drop Qt5AccessibleWidget::{text,value}Interface
They're unused and at first glance look like they might
be overriding the non-virtual methods
from 'QAccessibleInterface' with the same name that
do something more useful (calling 'interface_cast'
with the corresponding 'QAccessible::InterfaceType'
param).
Change-Id: I9258a5f9386f9a7d23bb35cfa33e55a169eb753e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122394
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r-- | vcl/inc/qt5/Qt5AccessibleWidget.hxx | 3 | ||||
-rw-r--r-- | vcl/qt5/Qt5AccessibleWidget.cxx | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/vcl/inc/qt5/Qt5AccessibleWidget.hxx b/vcl/inc/qt5/Qt5AccessibleWidget.hxx index aacaba9a80c8..54c967bf0ab1 100644 --- a/vcl/inc/qt5/Qt5AccessibleWidget.hxx +++ b/vcl/inc/qt5/Qt5AccessibleWidget.hxx @@ -74,9 +74,6 @@ public: void doAction(const QString& actionName) override; QStringList keyBindingsForAction(const QString& actionName) const override; - static QAccessibleValueInterface* valueInterface(); - static QAccessibleTextInterface* textInterface(); - // QAccessibleTextInterface void addSelection(int startOffset, int endOffset) override; QString attributes(int offset, int* startOffset, int* endOffset) const override; diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx index 65d5faafb918..f49bb59ce0b4 100644 --- a/vcl/qt5/Qt5AccessibleWidget.cxx +++ b/vcl/qt5/Qt5AccessibleWidget.cxx @@ -826,10 +826,6 @@ QStringList Qt5AccessibleWidget::keyBindingsForAction(const QString& actionName) return keyBindings; } -QAccessibleValueInterface* Qt5AccessibleWidget::valueInterface() { return nullptr; } - -QAccessibleTextInterface* Qt5AccessibleWidget::textInterface() { return nullptr; } - // QAccessibleTextInterface void Qt5AccessibleWidget::addSelection(int /* startOffset */, int /* endOffset */) { |