Kaydet (Commit) 7ce8ba33 authored tarafından Michael Stahl's avatar Michael Stahl

STL assert in connectivity::file::OPreparedStatement::checkAndResizeParameters

Change-Id: I48f4ceaf1d01d449eba169534f6512f9aadca886
üst 787d98f3
...@@ -403,7 +403,7 @@ void OPreparedStatement::checkAndResizeParameters(sal_Int32 parameterIndex) ...@@ -403,7 +403,7 @@ void OPreparedStatement::checkAndResizeParameters(sal_Int32 parameterIndex)
{ {
sal_Int32 i = m_aParameterRow->get().size(); sal_Int32 i = m_aParameterRow->get().size();
(m_aParameterRow->get()).resize(parameterIndex+1); (m_aParameterRow->get()).resize(parameterIndex+1);
for ( ;i <= parameterIndex+1; ++i ) for ( ; i <= parameterIndex; ++i)
{ {
if ( !(m_aParameterRow->get())[i].is() ) if ( !(m_aParameterRow->get())[i].is() )
(m_aParameterRow->get())[i] = new ORowSetValueDecorator; (m_aParameterRow->get())[i] = new ORowSetValueDecorator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment