Kaydet (Commit) bac831c8 authored tarafından Andras Timar's avatar Andras Timar Kaydeden (comit) Tor Lillqvist

tdf#124361 hide Add / Import button in Online

Change-Id: I6c8fb30fc1b8e0e6467a428f65838084fc08ca1e
Reviewed-on: https://gerrit.libreoffice.org/69967
Tested-by: Jenkins
Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
üst ba748771
......@@ -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 @@ SvxBitmapTabPage::SvxBitmapTabPage(TabPageParent pParent, const SfxItemSet& rInA
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);
......
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