vcl/source/window/accessibility.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 5384c6a53a8f2201d373e8c63c42d39d10ad0aa6 Author: Niklas Johansson <[email protected]> Date: Wed Feb 3 22:36:08 2016 +0100 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 <[email protected]> Reviewed-by: Samuel Mehrbrodt <[email protected]> diff --git a/vcl/source/window/accessibility.cxx b/vcl/source/window/accessibility.cxx index f31a6f9..e3aa32a 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: _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
