summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2016-02-03 22:36:08 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-02-10 06:33:26 +0000
commit5384c6a53a8f2201d373e8c63c42d39d10ad0aa6 (patch)
tree569a38755e5f16ae1ef69b7f21f5f6e8d047faf7 /vcl/source/window
parent1ec96eab842c6b08edd88e7ef3fe6aeb4bcf9ff7 (diff)
Don't fall back to Tool Bar as accessible name for toolbars
There is really no need to force an accessible name on the toolbar The fact that it is a toolbar is already given by the accessible role TOOL_BAR. By giving it the name Tool Bar will make some screen readers read Toolbar toolbar and then whatever control is in focus. Change-Id: Ie033f7f98ece2481b8e4b1ce72f4254a3cfd7303 Reviewed-on: https://gerrit.libreoffice.org/22088 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/accessibility.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/window/accessibility.cxx b/vcl/source/window/accessibility.cxx
index f31a6f93006b..e3aa32a86a7f 100644
--- a/vcl/source/window/accessibility.cxx
+++ b/vcl/source/window/accessibility.cxx
@@ -544,8 +544,6 @@ OUString Window::getDefaultAccessibleName() const
case WINDOW_TOOLBOX:
aAccessibleName = GetText();
- if( aAccessibleName.isEmpty() )
- aAccessibleName = "Tool Bar";
break;
case WINDOW_MOREBUTTON: