check for empty m_pBuffer

Change-Id: I90135b6d7780ba8a22fff725a965f0ea7e442707
This commit is contained in:
Caolán McNamara
2014-09-10 13:41:50 +01:00
parent db9cfa672c
commit ce454057e0

View File

@@ -774,6 +774,9 @@ sal_Int64 ODbaseTable::getSomething( const Sequence< sal_Int8 > & rId ) throw (R
bool ODbaseTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns & _rCols, bool _bUseTableDefs, bool bRetrieveData)
{
if (!m_pBuffer)
return false;
// Read the data
bool bIsCurRecordDeleted = (char)m_pBuffer[0] == '*';