Tag: cws_src680_dba24b User: fs Date: 2007-08-28 13:28:40+0000 Modified: dba/dbaccess/source/ui/misc/dsntypes.cxx
Log: authentication information now available at the data source meta data File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: dsntypes.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/dsntypes.cxx?r1=1.35&r2=1.35.28.1 Delta lines: +3 -45 -------------------- --- dsntypes.cxx 2007-07-06 08:36:59+0000 1.35 +++ dsntypes.cxx 2007-08-28 13:28:37+0000 1.35.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: dsntypes.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.35.28.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 08:36:59 $ + * last change: $Author: fs $ $Date: 2007/08/28 13:28:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -449,48 +449,6 @@ //------------------------------------------------------------------------- -sal_Bool ODsnTypeCollection::hasAuthentication(DATASOURCE_TYPE _eType) const -{ - switch (_eType) - { - case DST_USERDEFINE1: /// first user defined driver - case DST_USERDEFINE2: - case DST_USERDEFINE3: - case DST_USERDEFINE4: - case DST_USERDEFINE5: - case DST_USERDEFINE6: - case DST_USERDEFINE7: - case DST_USERDEFINE8: - case DST_USERDEFINE9: - case DST_USERDEFINE10: - case DST_ADABAS: - case DST_JDBC: - case DST_MYSQL_ODBC: - case DST_ORACLE_JDBC: - case DST_MYSQL_JDBC: - case DST_ODBC: - case DST_ADO: - case DST_LDAP: - case DST_CALC: - return sal_True; - case DST_MSACCESS: - case DST_MOZILLA: - case DST_THUNDERBIRD: - case DST_EVOLUTION: - case DST_EVOLUTION_GROUPWISE: - case DST_EVOLUTION_LDAP: - case DST_KAB: - case DST_OUTLOOK: - case DST_OUTLOOKEXP: //???? - case DST_DBASE: - case DST_FLAT: - case DST_EMBEDDED: - default: - return sal_False; - } -} - -//------------------------------------------------------------------------- DATASOURCE_TYPE ODsnTypeCollection::implDetermineType(const String& _rDsn) const { sal_uInt16 nSeparator = _rDsn.Search((sal_Unicode)':'); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
