Tag: cws_src680_dba203a
User: fs      
Date: 06/02/24 01:27:32

Modified:
 /dba/connectivity/source/drivers/hsqldb/
  HDriver.cxx

Log:
 #i62522#

File Changes:

Directory: /dba/connectivity/source/drivers/hsqldb/
===================================================

File [changed]: HDriver.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HDriver.cxx?r1=1.15&r2=1.15.66.1
Delta lines:  +26 -27
---------------------
--- HDriver.cxx 23 Sep 2005 11:39:24 -0000      1.15
+++ HDriver.cxx 24 Feb 2006 09:27:29 -0000      1.15.66.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: HDriver.cxx,v $
  *
- *  $Revision: 1.15 $
+ *  $Revision: 1.15.66.1 $
  *
- *  last change: $Author: hr $ $Date: 2005/09/23 11:39:24 $
+ *  last change: $Author: fs $ $Date: 2006/02/24 09:27:29 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -337,9 +337,9 @@
        //--------------------------------------------------------------------
        Sequence< DriverPropertyInfo > SAL_CALL 
ODriverDelegator::getPropertyInfo( const ::rtl::OUString& url, const Sequence< 
PropertyValue >& info ) throw (SQLException, RuntimeException)
        {
+               if ( !acceptsURL(url) )
+            return Sequence< DriverPropertyInfo >();
                ::std::vector< DriverPropertyInfo > aDriverInfo;
-               if ( acceptsURL(url) )
-               {
                        aDriverInfo.push_back(DriverPropertyInfo(
                                        
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Storage"))
                                        
,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Defines the storage where the 
database will be stored."))
@@ -361,7 +361,6 @@
                                        
,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CALL IDENTITY()"))
                                        ,Sequence< ::rtl::OUString >())
                                        );
-               }
                return Sequence< DriverPropertyInfo 
>(&aDriverInfo[0],aDriverInfo.size());
        }
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to