Tag: cws_src680_dba30 User: oj Date: 06/04/18 06:09:46 Modified: /dba/connectivity/source/drivers/hsqldb/ HDriver.cxx
Log: RESYNC: (1.15-1.16); FILE MERGED 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.10.1&r2=1.15.10.2 Delta lines: +26 -27 --------------------- --- HDriver.cxx 29 Dec 2005 12:50:52 -0000 1.15.10.1 +++ HDriver.cxx 18 Apr 2006 13:09:43 -0000 1.15.10.2 @@ -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]
