cui/source/dialogs/hlmailtp.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit e0777b707e7105da2a16c11b34a3465ab4b727b3 Author: Andras Timar <[email protected]> AuthorDate: Sat Mar 30 17:24:08 2019 +0100 Commit: Andras Timar <[email protected]> CommitDate: Mon Sep 16 21:21:02 2019 +0200 tdf#124362 hide Addressbook button in Online Change-Id: If066c4440c7add08836fa3ebb569ffc36969072e Reviewed-on: https://gerrit.libreoffice.org/69966 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/78989 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Andras Timar <[email protected]> diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx index f3f9cbc9ed39..e47216db2aa9 100644 --- a/cui/source/dialogs/hlmailtp.cxx +++ b/cui/source/dialogs/hlmailtp.cxx @@ -27,6 +27,8 @@ #include <hlmailtp.hxx> #include <bitmaps.hlst> +#include <comphelper/lok.hxx> + using namespace ::com::sun::star; /************************************************************************* @@ -61,7 +63,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(); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
