Kaydet (Commit) e49e41f7 authored tarafından Caolán McNamara's avatar Caolán McNamara

check return of Execute row and propogate error code

Change-Id: I75b2c454122aa2d75d66dc46865135e01277bbcb
üst a9201a4d
......@@ -999,7 +999,9 @@ bool OResultSet::Move(IResultSetHelper::Movement eCursorPosition, sal_Int32 nOff
if (m_nRowPos < (sal_Int32)m_pFileSet->get().size())
{
// Fetch via Index
ExecuteRow(IResultSetHelper::BOOKMARK,(m_pFileSet->get())[m_nRowPos],false,bRetrieveData);
bool bOK = ExecuteRow(IResultSetHelper::BOOKMARK,(m_pFileSet->get())[m_nRowPos],false,bRetrieveData);
if (!bOK)
goto Error;
// now set the bookmark for outside
*(*m_aRow->get().begin()) = sal_Int32(m_nRowPos + 1);
......
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