cui/source/tabpages/tpbitmap.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit bac831c8f5fb5c50ddddfb2458498fb9564c127a Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Sat Mar 30 17:34:09 2019 +0100 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Tue Apr 2 11:25:20 2019 +0200 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 <t...@collabora.com> diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index d60e121c44e9..faee1ded1ac2 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 @@ 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits