Tag: cws_src680_dba27 User: fs Date: 05/03/18 00:08:29 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.cxx
Log: #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.2.6.1 Delta lines: +18 -8 -------------------- --- ModelImpl.cxx 10 Mar 2005 16:32:40 -0000 1.2 +++ ModelImpl.cxx 18 Mar 2005 08:08:26 -0000 1.2.6.1 @@ -2,9 +2,9 @@ * * $RCSfile: ModelImpl.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.6.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:32:40 $ + * last change: $Author: fs $ $Date: 2005/03/18 08:08:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -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]
