summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/abspilot.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-12-19 16:26:24 +0000
committerOliver Bolte <obo@openoffice.org>2005-12-19 16:26:24 +0000
commitf6ec3fdd7f18997601352658b5f85883aadbf51e (patch)
tree3deebd861875bc52be7813a253e3ec9c4d70a5c1 /extensions/source/abpilot/abspilot.cxx
parenta641a1918dd08fe7412f8b196b16cc7a196dcee1 (diff)
INTEGRATION: CWS kaddrbook (1.10.142); FILE MERGED
2005/12/06 07:46:51 fs 1.10.142.3: don't provide Mozilla-based options if we're built without Mozilla support 2005/11/30 04:31:35 kendy 1.10.142.2: RESYNC: (1.10-1.12); FILE MERGED 2005/08/29 08:55:12 ebischoff 1.10.142.1: Changes needed for new KDE address book driver
Diffstat (limited to 'extensions/source/abpilot/abspilot.cxx')
-rw-r--r--extensions/source/abpilot/abspilot.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 4cde2746271e..b5e6ad6ada24 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: abspilot.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: hr $ $Date: 2005-09-29 10:39:01 $
+ * last change: $Author: obo $ $Date: 2005-12-19 17:26:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -151,11 +151,15 @@ namespace abp
m_pCancel->SetClickHdl( LINK( this, OAddessBookSourcePilot, OnCancelClicked) );
// some initial settings
+#ifdef WITH_MOZILLA
#ifdef UNX
m_aSettings.eType = AST_MORK;
#else
m_aSettings.eType = AST_OE;
#endif
+#else
+ m_aSettings.eType = AST_OTHER;
+#endif
m_aSettings.sDataSourceName = String(ModuleRes(RID_STR_DEFAULT_NAME));
m_aSettings.bRegisterDataSource = sal_False;
@@ -406,6 +410,10 @@ namespace abp
m_aNewDataSource = aContext.createNewEvolution( m_aSettings.sDataSourceName );
break;
+ case AST_KAB:
+ m_aNewDataSource = aContext.createNewKab( m_aSettings.sDataSourceName );
+ break;
+
case AST_LDAP:
m_aNewDataSource = aContext.createNewLDAP( m_aSettings.sDataSourceName );
break;