User: vg Date: 05/03/23 01:45:25 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.cxx
Log: INTEGRATION: CWS dba26 (1.2.4); FILE MERGED 2005/03/18 08:17:42 fs 1.2.4.1: #i45153# layout for readability File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: ModelImpl.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.cxx?r1=1.2&r2=1.3 Delta lines: +19 -9 -------------------- --- ModelImpl.cxx 10 Mar 2005 16:32:40 -0000 1.2 +++ ModelImpl.cxx 23 Mar 2005 09:45:22 -0000 1.3 @@ -449,16 +449,26 @@ { Sequence<Any> aArgs(2); const PropertyValue* pEnd = m_aArgs.getConstArray() + m_aArgs.getLength(); - const PropertyValue* pValue =::std::find_if(m_aArgs.getConstArray(), + const PropertyValue* pValue =::std::find_if( + m_aArgs.getConstArray(), pEnd, - ::std::bind2nd(::comphelper::TPropertyValueEqualFunctor(),::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Stream")))); + ::std::bind2nd( + ::comphelper::TPropertyValueEqualFunctor(), + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Stream" ) ) + )); + if ( pValue && pValue != pEnd ) aArgs[0] = pValue->Value; else { - pValue =::std::find_if(m_aArgs.getConstArray(), + pValue =::std::find_if( + m_aArgs.getConstArray(), pEnd, - ::std::bind2nd(::comphelper::TPropertyValueEqualFunctor(),::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("InputStream")))); + ::std::bind2nd( + ::comphelper::TPropertyValueEqualFunctor(), + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "InputStream" ) ) + )); + if ( pValue && pValue != pEnd ) aArgs[0] = pValue->Value; else if ( m_sFileURL.getLength() ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
