[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - cui/source
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Sun Mar 31 18:17:59 UTC 2019
cui/source/dialogs/hlmailtp.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit dfd740287c9e21b8d2d9f04a10dafd12f2b63b0c
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Sat Mar 30 17:24:08 2019 +0100
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Sun Mar 31 21:15:34 2019 +0300
tdf#124362 hide Addressbook button in Online
Change-Id: If066c4440c7add08836fa3ebb569ffc36969072e
Reviewed-on: https://gerrit.libreoffice.org/69966
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml at collabora.com>
(cherry picked from commit 1d35b89e7581e12024769d19bfb6d6eb2c3274b8)
diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx
index 303407da84b6..5ccd90a35a9b 100644
--- a/cui/source/dialogs/hlmailtp.cxx
+++ b/cui/source/dialogs/hlmailtp.cxx
@@ -28,6 +28,8 @@
#include <hlmailtp.hxx>
#include <bitmaps.hlst>
+#include <comphelper/lok.hxx>
+
using namespace ::com::sun::star;
/*************************************************************************
@@ -63,7 +65,8 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog*
m_pBtAdrBook->SetClickHdl ( LINK ( this, SvxHyperlinkMailTp, ClickAdrBookHdl_Impl ) );
m_pCbbReceiver->SetModifyHdl ( LINK ( this, SvxHyperlinkMailTp, ModifiedReceiverHdl_Impl) );
- if ( !SvtModuleOptions().IsModuleInstalled( SvtModuleOptions::EModule::DATABASE ) )
+ if ( !SvtModuleOptions().IsModuleInstalled( SvtModuleOptions::EModule::DATABASE ) ||
+ comphelper::LibreOfficeKit::isActive() )
m_pBtAdrBook->Hide();
}
More information about the Libreoffice-commits
mailing list