From ebecc936f0db2acf1c8936a39fc5b1eca20f9f97 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 29 Sep 2005 09:39:01 +0000
Subject: [PATCH] INTEGRATION: CWS tbab (1.10.82); FILE MERGED 2005/09/26
10:03:47 fs 1.10.82.2: RESYNC: (1.10-1.11); FILE MERGED 2005/05/31 11:27:25
fs 1.10.82.1: #i46390# Thunderbird support
---
extensions/source/abpilot/abspilot.cxx | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 2e21d0633fe8..4cde2746271e 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: abspilot.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 19:04:06 $
+ * last change: $Author: hr $ $Date: 2005-09-29 10:39:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -359,7 +359,8 @@ namespace abp
const sal_Char* pGuess = NULL;
switch ( getSettings().eType )
{
- case AST_MORK : pGuess = "Personal Address Book"; break;
+ case AST_MORK :
+ case AST_THUNDERBIRD: pGuess = "Personal Address Book"; break;
case AST_LDAP : pGuess = "LDAP Directory"; break;
}
const ::rtl::OUString sGuess = ::rtl::OUString::createFromAscii( pGuess );
@@ -397,6 +398,10 @@ namespace abp
m_aNewDataSource = aContext.createNewMORK( m_aSettings.sDataSourceName );
break;
+ case AST_THUNDERBIRD:
+ m_aNewDataSource = aContext.createNewThunderbird( m_aSettings.sDataSourceName );
+ break;
+
case AST_EVOLUTION:
m_aNewDataSource = aContext.createNewEvolution( m_aSettings.sDataSourceName );
break;