diff options
author | Andras Timar <andras.timar@collabora.com> | 2019-03-30 17:34:09 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-04-02 12:28:38 +0300 |
commit | 1d4ecfc9a3b98fccc0512d10aa6d0ddc50fd5a25 (patch) | |
tree | bc3d87514a008152fb704bd6cd20da242a62ec1d /cui | |
parent | deb409861d677b8799c8120c29412d3d9e4a73b9 (diff) |
tdf#124361 hide Add / Import button in Online
Change-Id: I6c8fb30fc1b8e0e6467a428f65838084fc08ca1e
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tpbitmap.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 00897f4848b9..58950bf978cf 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 <o3tl/make_unique.hxx> +#include <comphelper/lok.hxx> using namespace com::sun::star; @@ -128,6 +129,8 @@ SvxBitmapTabPage::SvxBitmapTabPage( vcl::Window* pParent, const SfxItemSet& rInA m_pPositionOffY->SetModifyHdl(aLink); m_pTileOffset->SetModifyHdl( LINK( this, SvxBitmapTabPage, ModifyTileOffsetHdl ) ); m_pBtnImport->SetClickHdl( LINK(this, SvxBitmapTabPage, ClickImportHdl) ); + if (comphelper::LibreOfficeKit::isActive()) + m_pBtnImport->Hide(); // Calculate size of display boxes Size aSize = getDrawPreviewOptimalSize(this); |