summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-08-06 10:56:41 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-08-26 13:18:33 +0200
commit77f12e60687ab639da34aa71e84085d1c3d5a402 (patch)
treed188cbc5468ac661c50f55a49bd9a5357bb3fbde /svx
parent4382d36ffd38f2481f83e59fd11ead8d62e08a39 (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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101386 Tested-by: Jenkins
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 64533b2c786b..dbb0ea75c97c 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2861,7 +2861,7 @@ void SvxStyleToolBoxControl::FillStyleBox()
for (const auto& rStyle : aStyles)
pBox->append_text(rStyle);
- if (pImpl->bSpecModeWriter || pImpl->bSpecModeCalc)
+ if ((pImpl->bSpecModeWriter || pImpl->bSpecModeCalc) && !comphelper::LibreOfficeKit::isActive())
pBox->append_text(pImpl->aMore);
pBox->thaw();