vcl/jsdialog/enabled.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
New commits: commit 8f5b8ecbcd2334a1747a341fb60d206fe0dfadaf Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Tue Apr 30 12:48:40 2024 +0900 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu May 2 10:04:19 2024 +0200 jsdialog: enable a11y checker sidebar Change-Id: I46f276f16ded08a55b6672d92c39924ec3c4a628 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166880 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/vcl/jsdialog/enabled.cxx b/vcl/jsdialog/enabled.cxx index b04418257bff..309d547a72dc 100644 --- a/vcl/jsdialog/enabled.cxx +++ b/vcl/jsdialog/enabled.cxx @@ -323,7 +323,7 @@ bool isBuilderEnabledForPopup(std::u16string_view rUIFile) bool isBuilderEnabledForSidebar(std::u16string_view rUIFile) { - if (// scalc + return // scalc rUIFile == u"modules/scalc/ui/functionpanel.ui" || rUIFile == u"modules/scalc/ui/navigatorpanel.ui" || rUIFile == u"modules/scalc/ui/sidebaralignment.ui" @@ -350,6 +350,7 @@ bool isBuilderEnabledForSidebar(std::u16string_view rUIFile) || rUIFile == u"modules/smath/ui/sidebarelements_math.ui" || rUIFile == u"modules/smath/ui/sidebarproperties_math.ui" // swriter + || rUIFile == u"modules/swriter/ui/a11ycheckissuespanel.ui" || rUIFile == u"modules/swriter/ui/managechangessidebar.ui" || rUIFile == u"modules/swriter/ui/navigatorpanel.ui" || rUIFile == u"modules/swriter/ui/pagefooterpanel.ui" @@ -379,10 +380,7 @@ bool isBuilderEnabledForSidebar(std::u16string_view rUIFile) || rUIFile == u"svx/ui/sidebarpossize.ui" || rUIFile == u"svx/ui/sidebarshadow.ui" || rUIFile == u"svx/ui/sidebarstylespanel.ui" - || rUIFile == u"svx/ui/sidebartextpanel.ui") - return true; - - return false; + || rUIFile == u"svx/ui/sidebartextpanel.ui"; } bool isInterimBuilderEnabledForNotebookbar(std::u16string_view rUIFile)