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
This commit is contained in:
Jens-Heiner Rechtien 2005-09-29 09:39:01 +00:00
parent 1c553b6c67
commit ebecc936f0

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: abspilot.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -359,7 +359,8 @@ namespace abp
const sal_Char* pGuess = NULL; const sal_Char* pGuess = NULL;
switch ( getSettings().eType ) 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; case AST_LDAP : pGuess = "LDAP Directory"; break;
} }
const ::rtl::OUString sGuess = ::rtl::OUString::createFromAscii( pGuess ); const ::rtl::OUString sGuess = ::rtl::OUString::createFromAscii( pGuess );
@ -397,6 +398,10 @@ namespace abp
m_aNewDataSource = aContext.createNewMORK( m_aSettings.sDataSourceName ); m_aNewDataSource = aContext.createNewMORK( m_aSettings.sDataSourceName );
break; break;
case AST_THUNDERBIRD:
m_aNewDataSource = aContext.createNewThunderbird( m_aSettings.sDataSourceName );
break;
case AST_EVOLUTION: case AST_EVOLUTION:
m_aNewDataSource = aContext.createNewEvolution( m_aSettings.sDataSourceName ); m_aNewDataSource = aContext.createNewEvolution( m_aSettings.sDataSourceName );
break; break;