Tag: cws_src680_dba203a
User: fs      
Date: 06/02/24 01:24:51

Modified:
 /dba/connectivity/source/drivers/mozab/
  MDriver.cxx

Log:
 #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.14.74.1
Delta lines:  +20 -20
---------------------
--- MDriver.cxx 8 Sep 2005 06:18:30 -0000       1.14
+++ MDriver.cxx 24 Feb 2006 09:24:48 -0000      1.14.74.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MDriver.cxx,v $
  *
- *  $Revision: 1.14 $
+ *  $Revision: 1.14.74.1 $
  *
- *  last change: $Author: rt $ $Date: 2005/09/08 06:18:30 $
+ *  last change: $Author: fs $ $Date: 2006/02/24 09:24:48 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -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