Kaydet (Commit) 72909fbf authored tarafından Henry Castro's avatar Henry Castro Kaydeden (comit) Andras Timar

lok: Bullets and Numbering → disable Graphic selection in Customize

Change-Id: If0f7b953a40ca1d5f469087cb8f362a949c39b37
Reviewed-on: https://gerrit.libreoffice.org/67499Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst b79fe36b
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include <svl/stritem.hxx> #include <svl/stritem.hxx>
#include <svl/aeitem.hxx> #include <svl/aeitem.hxx>
#include <svl/slstitm.hxx> #include <svl/slstitm.hxx>
#include <comphelper/lok.hxx>
static bool bLastRelative = false; static bool bLastRelative = false;
...@@ -957,7 +958,16 @@ SwSvxNumBulletTabDialog::SwSvxNumBulletTabDialog(vcl::Window* pParent, ...@@ -957,7 +958,16 @@ SwSvxNumBulletTabDialog::SwSvxNumBulletTabDialog(vcl::Window* pParent,
m_nBulletPageId = AddTabPage("bullets", RID_SVXPAGE_PICK_BULLET ); m_nBulletPageId = AddTabPage("bullets", RID_SVXPAGE_PICK_BULLET );
AddTabPage("outlinenum", RID_SVXPAGE_PICK_NUM ); AddTabPage("outlinenum", RID_SVXPAGE_PICK_NUM );
AddTabPage("graphics", RID_SVXPAGE_PICK_BMP ); AddTabPage("graphics", RID_SVXPAGE_PICK_BMP );
m_nOptionsPageId = AddTabPage("customize", RID_SVXPAGE_NUM_OPTIONS );
if (comphelper::LibreOfficeKit::isActive())
{
RemoveTabPage("customize");
}
else
{
m_nOptionsPageId = AddTabPage("customize", RID_SVXPAGE_NUM_OPTIONS );
}
m_nPositionPageId = AddTabPage("position", RID_SVXPAGE_NUM_POSITION ); m_nPositionPageId = AddTabPage("position", RID_SVXPAGE_NUM_POSITION );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment