Tag: cws_src680_codecleanup01
User: mt      
Date: 06/04/09 22:38:36

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.13.52.2&r2=1.13.52.3
Delta lines:  +17 -17
---------------------
--- MDriver.cxx 5 Oct 2005 20:39:33 -0000       1.13.52.2
+++ MDriver.cxx 10 Apr 2006 05:38:34 -0000      1.13.52.3
@@ -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]

Reply via email to