tdf#124361 hide Add / Import button in Online
Change-Id: I6c8fb30fc1b8e0e6467a428f65838084fc08ca1e
Reviewed-on: https://gerrit.libreoffice.org/69967
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index d60e121..faee1de 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -43,6 +43,7 @@
#include <sfx2/viewsh.hxx>
#include <sfx2/dialoghelper.hxx>
#include <sal/log.hxx>
#include <comphelper/lok.hxx>
using namespace com::sun::star;
@@ -113,6 +114,8 @@
m_xPositionOffY->connect_value_changed(aLink);
m_xTileOffset->connect_value_changed( LINK( this, SvxBitmapTabPage, ModifyTileOffsetHdl ) );
m_xBtnImport->connect_clicked( LINK(this, SvxBitmapTabPage, ClickImportHdl) );
if (comphelper::LibreOfficeKit::isActive())
m_xBtnImport->hide();
// Calculate size of display boxes
Size aSize = getDrawPreviewOptimalSize(this);