Tag: mws_ooh680 User: kz Date: 2008-01-18 14:58:18+0000 Modified: dba/connectivity/source/drivers/hsqldb/HDriver.cxx
Log: INTEGRATION: CWS dba24d_OOH680 (1.24.22); FILE MERGED 2007/12/01 13:36:27 fs 1.24.22.2: RESYNC: (1.24-1.25); FILE MERGED 2007/11/23 12:14:15 oj 1.24.22.1: #i81896# throw an exception when the url is not a system file path 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.25.12.1&r2=1.25.12.2 Delta lines: +2 -2 ------------------- --- HDriver.cxx 2008-01-02 14:35:37+0000 1.25.12.1 +++ HDriver.cxx 2008-01-18 14:58:16+0000 1.25.12.2 @@ -258,8 +258,8 @@ ::rtl::OUString sSystemPath; osl_getSystemPathFromFileURL( sURL.pData, &sSystemPath.pData ); sal_Int32 nIndex = sSystemPath.lastIndexOf('.'); - if ( !sURL.getLength() ) - throw SQLException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("File URL is not correct.")) + if ( !sURL.getLength() || !sSystemPath.getLength() ) + throw SQLException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("The file URL is not correct.")) ,*this ,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HY0000")) ,1000,Any()); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
