sw/source/ui/misc/num.cxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
New commits: commit 5b056e42ff60662f8ab8e22137cfb736a6206604 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Thu Feb 7 09:21:20 2019 -0400 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Fri Oct 25 10:30:31 2019 +0200 lok: Bullets and Numbering → disable Graphic selection in Customize Change-Id: If0f7b953a40ca1d5f469087cb8f362a949c39b37 Reviewed-on: https://gerrit.libreoffice.org/67499 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/79810 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/79811 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.me...@collabora.com> diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index b2eef82f6580..603e05bebb3e 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -49,6 +49,7 @@ #include <svl/aeitem.hxx> #include <svl/slstitm.hxx> #include <svl/intitem.hxx> +#include <comphelper/lok.hxx> static bool bLastRelative = false; @@ -885,7 +886,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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits