[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - svx/source
gokaysatir (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 11 10:07:53 UTC 2020
svx/source/sidebar/area/AreaPropertyPanelBase.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 4a31a63c5e4d4dac01426581c39bc1ef9278f6cb
Author: gokaysatir <gokaysatir at collabora.com>
AuthorDate: Sat Aug 8 16:27:48 2020 +0300
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Tue Aug 11 12:07:16 2020 +0200
core: Hide shape area bitmap import button.
Change-Id: I6f6987ea82c102fc5ac44a1c48a234c9f43484e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100391
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index 8cfc9c6d2459..3725feea9674 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -37,6 +37,7 @@
#include <sfx2/opengrf.hxx>
#include <tools/urlobj.hxx>
#include <bitmaps.hlst>
+#include <comphelper/lok.hxx>
using namespace css;
using namespace css::uno;
@@ -379,7 +380,8 @@ IMPL_LINK_NOARG(AreaPropertyPanelBase, SelectFillTypeHdl, ListBox&, void)
GraphicObject aBitmap;
if(nPos == static_cast< sal_Int32 >(BITMAP))
{
- mpBmpImport->Show();
+ if (!comphelper::LibreOfficeKit::isActive())
+ mpBmpImport->Show();
const SvxBitmapListItem* pItem = pSh->GetItem(SID_BITMAP_LIST);
if(pItem)
{
@@ -1234,7 +1236,8 @@ void AreaPropertyPanelBase::Update()
{
if(pSh && pSh->GetItem(SID_BITMAP_LIST) && eXFS == BITMAP)
{
- mpBmpImport->Show();
+ if (!comphelper::LibreOfficeKit::isActive())
+ mpBmpImport->Show();
mpLbFillType->SelectEntryPos(sal_uInt32(BITMAP));
mpLbFillAttr->Fill(pSh->GetItem(SID_BITMAP_LIST)->GetBitmapList());
More information about the Libreoffice-commits
mailing list