diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 5768e54002a0..60f9290aac59 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -30,6 +30,7 @@ #include #include #include +#include using namespace css; using namespace css::uno; @@ -388,7 +389,8 @@ IMPL_LINK_NOARG(AreaPropertyPanelBase, SelectFillTypeHdl, weld::ComboBox&, void) GraphicObject aBitmap; if(nPos == static_cast< sal_Int32 >(BITMAP)) { - mxBmpImport->show(); + if (!comphelper::LibreOfficeKit::isActive()) + mxBmpImport->show(); const SvxBitmapListItem* pItem = pSh->GetItem(SID_BITMAP_LIST); if(pItem) { @@ -1235,7 +1237,8 @@ void AreaPropertyPanelBase::Update() { if(pSh && pSh->GetItem(SID_BITMAP_LIST) && eXFS == BITMAP) { - mxBmpImport->show(); + if (!comphelper::LibreOfficeKit::isActive()) + mxBmpImport->show(); mxLbFillType->set_active(sal_uInt32(BITMAP)); SvxFillAttrBox::Fill(*mxLbFillAttr, pSh->GetItem(SID_BITMAP_LIST)->GetBitmapList());