summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/misc/num.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx
index eb4c03c4d523..0506198c021e 100644
--- a/sw/source/ui/misc/num.cxx
+++ b/sw/source/ui/misc/num.cxx
@@ -47,6 +47,7 @@
#include <svl/stritem.hxx>
#include <svl/aeitem.hxx>
#include <svl/slstitm.hxx>
+#include <comphelper/lok.hxx>
static bool bLastRelative = false;
@@ -890,7 +891,16 @@ SwSvxNumBulletTabDialog::SwSvxNumBulletTabDialog(weld::Window* pParent,
AddTabPage("bullets", RID_SVXPAGE_PICK_BULLET );
AddTabPage("outlinenum", RID_SVXPAGE_PICK_NUM );
AddTabPage("graphics", RID_SVXPAGE_PICK_BMP );
- AddTabPage("customize", RID_SVXPAGE_NUM_OPTIONS );
+
+ if (comphelper::LibreOfficeKit::isActive())
+ {
+ RemoveTabPage("customize");
+ }
+ else
+ {
+ AddTabPage("customize", RID_SVXPAGE_NUM_OPTIONS );
+ }
+
AddTabPage("position", RID_SVXPAGE_NUM_POSITION );
}