diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-08-06 10:56:41 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-08-06 12:36:13 +0200 |
commit | 8f12f79818e85c31c1f752c200d9174093d0dfca (patch) | |
tree | 7a13b17b9fa8d5f5bc76c42aa2d40c17ad318b8c | |
parent | 536cbf5e9fd8e65824dfbddb46fe28bad27f1485 (diff) |
lok: Hide not working 'More Styles' option
Option was shown in the sidebar style dropdown.
Change-Id: Icd7b555d1c6c1a860454c4b367146a1ea9746b76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100204
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 7c4bf4ad20e0..ff8aeb8b6db8 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2807,7 +2807,8 @@ void SvxStyleToolBoxControl::FillStyleBox() pBox->InsertEntry( pImpl->aClearForm, 0 ); pBox->SetSeparatorPos( 0 ); - pBox->InsertEntry( pImpl->aMore ); + if (!comphelper::LibreOfficeKit::isActive()) + pBox->InsertEntry( pImpl->aMore ); // enable sort again nWinBits |= WB_SORT; |