User: rt Date: 2008-06-16 12:30:23+0000 Modified: dba/dbaccess/source/core/api/RowSet.cxx
Log: INTEGRATION: CWS rptchart02 (1.155.30); FILE MERGED 2008/06/11 12:39:47 oj 1.155.30.3: RESYNC: (1.156-1.157); FILE MERGED 2008/04/16 06:46:22 oj 1.155.30.2: RESYNC: (1.155-1.156); FILE MERGED 2008/03/12 09:27:08 oj 1.155.30.1: clear parameter when setting new command File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: RowSet.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.157&r2=1.158 Delta lines: +10 -3 -------------------- --- RowSet.cxx 2008-06-06 13:58:55+0000 1.157 +++ RowSet.cxx 2008-06-16 12:30:21+0000 1.158 @@ -2457,10 +2457,17 @@ if ( m_pParameters.is() ) { + if ( m_bCommandFacetsDirty ) + // need to rebuild the parameters, since some property which contributes to the + // complete command, and thus the parameters, changed + impl_disposeParametersContainer_nothrow(); + if ( m_pParameters.is() ) + { if ( (size_t)parameterIndex > m_pParameters->size() ) throwInvalidIndexException( *this ); return (*m_pParameters)[ parameterIndex - 1 ]; } + } if ( m_aPrematureParamValues.size() < (size_t)parameterIndex ) m_aPrematureParamValues.resize( parameterIndex ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
