Tag: cws_src680_warnings01 User: sb Date: 06/04/07 13:22:40 Modified: /dba/connectivity/source/drivers/mozab/ MDriver.cxx
Log: RESYNC: (1.14-1.15); FILE MERGED 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.28.3&r2=1.14.28.4 Delta lines: +20 -20 --------------------- --- MDriver.cxx 29 Mar 2006 12:39:24 -0000 1.14.28.3 +++ MDriver.cxx 7 Apr 2006 20:22:38 -0000 1.14.28.4 @@ -180,9 +180,10 @@ { if ( acceptsURL(url) ) { + if ( acceptsURL_Stat(url) != LDAP ) + return Sequence< DriverPropertyInfo >(); + ::std::vector< DriverPropertyInfo > aDriverInfo; - if ( impl_classifyURL(url) == LDAP ) - { aDriverInfo.push_back(DriverPropertyInfo( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BaseDN")) ,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Base DN.")) @@ -197,7 +198,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]
