User: obo Date: 06/03/29 04:17:53 Modified: /dba/connectivity/source/drivers/mozab/ MDriver.cxx
Log: INTEGRATION: CWS dba203a (1.14.74); FILE MERGED 2006/02/24 09:24:48 fs 1.14.74.1: #i62522# File Changes: Directory: /dba/connectivity/source/drivers/mozab/ ================================================== File [changed]: MDriver.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MDriver.cxx?r1=1.14&r2=1.15 Delta lines: +17 -17 --------------------- --- MDriver.cxx 8 Sep 2005 06:18:30 -0000 1.14 +++ MDriver.cxx 29 Mar 2006 12:17:51 -0000 1.15 @@ -178,9 +178,10 @@ { if ( acceptsURL(url) ) { + if ( acceptsURL_Stat(url) != LDAP ) + return Sequence< DriverPropertyInfo >(); + ::std::vector< DriverPropertyInfo > aDriverInfo; - if ( acceptsURL_Stat(url) == LDAP ) - { aDriverInfo.push_back(DriverPropertyInfo( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BaseDN")) ,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Base DN.")) @@ -195,7 +196,6 @@ ,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("100")) ,Sequence< ::rtl::OUString >()) ); - } return Sequence< DriverPropertyInfo >(&aDriverInfo[0],aDriverInfo.size()); } ::dbtools::throwGenericSQLException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Invalid URL!")) ,*this); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
