summaryrefslogtreecommitdiff
path: root/svx/source/dialog/hlmailtp.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-06-21 12:14:48 +0000
committerRüdiger Timm <rt@openoffice.org>2005-06-21 12:14:48 +0000
commit32e99eb8024137c6a632cd9bcbc6b38e3c85aa93 (patch)
tree1fc62986dedd12ab9c9c079437e561b7d2379073 /svx/source/dialog/hlmailtp.cxx
parent83409d9d110d574b0b181489c76ccfb185743c92 (diff)
INTEGRATION: CWS optionalbase (1.17.308); FILE MERGED
2005/06/16 09:08:05 fs 1.17.308.1: #i46898# no data sources button when no Base is installed
Diffstat (limited to 'svx/source/dialog/hlmailtp.cxx')
-rw-r--r--svx/source/dialog/hlmailtp.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/svx/source/dialog/hlmailtp.cxx b/svx/source/dialog/hlmailtp.cxx
index 4cf9851f19bb..3cbded2fb565 100644
--- a/svx/source/dialog/hlmailtp.cxx
+++ b/svx/source/dialog/hlmailtp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: hlmailtp.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: kz $ $Date: 2005-01-21 16:37:30 $
+ * last change: $Author: rt $ $Date: 2005-06-21 13:14:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -86,6 +86,9 @@
#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX
#include <svtools/pathoptions.hxx>
#endif
+#ifndef INCLUDED_SVTOOLS_MODULEOPTIONS_HXX
+#include <svtools/moduleoptions.hxx>
+#endif
#include "hlmailtp.hxx"
#include "hyperdlg.hrc"
@@ -135,6 +138,9 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( Window *pParent, const SfxItemSet& rIte
maRbtNews.SetClickHdl ( LINK ( this, SvxHyperlinkMailTp, Click_SmartProtocol_Impl ) );
maBtAdrBook.SetClickHdl ( LINK ( this, SvxHyperlinkMailTp, ClickAdrBookHdl_Impl ) );
maCbbReceiver.SetModifyHdl ( LINK ( this, SvxHyperlinkMailTp, ModifiedReceiverHdl_Impl) );
+
+ if ( !SvtModuleOptions().IsModuleInstalled( SvtModuleOptions::E_SDATABASE ) )
+ maBtAdrBook.Hide();
}
SvxHyperlinkMailTp::~SvxHyperlinkMailTp ()