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

coverity#705789 Dereference before null check

Change-Id: Ie33efea9070d1ccd97572cfbb642db847a2f32f7
üst 441ff263
......@@ -895,6 +895,9 @@ sal_Bool OResultSet::ExecuteRow(IResultSetHelper::Movement eFirstCursorPosition,
IResultSetHelper::Movement eCursorPosition = eFirstCursorPosition;
sal_Int32 nOffset = nFirstOffset;
if (!m_pTable)
return sal_False;
const OSQLColumns & rTableCols = *(m_pTable->getTableColumns());
sal_Bool bHasRestriction = m_pSQLAnalyzer->hasRestriction();
again:
......
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