summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/jsdialog/enabled.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/jsdialog/enabled.cxx b/vcl/jsdialog/enabled.cxx
index c7973fad4d57..fd05cc3ff569 100644
--- a/vcl/jsdialog/enabled.cxx
+++ b/vcl/jsdialog/enabled.cxx
@@ -327,7 +327,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"
@@ -354,6 +354,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"
@@ -383,10 +384,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)