Kaydet (Commit) 18cfc7c2 authored tarafından Eike Rathke's avatar Eike Rathke

PeekNext() might be NULL

Change-Id: I2b63e99d25e00b0021986a89dce75f3f678ecb85
üst 812d125a
......@@ -1873,7 +1873,7 @@ const FormulaToken* FormulaCompiler::CreateStringFromToken( OUStringBuffer& rBuf
// Suppress all TableRef related tokens, the resulting
// range was written by CreateStringFromIndex().
const FormulaToken* p = pArr->PeekNext();
if (p->GetOpCode() == ocTableRefOpen)
if (p && p->GetOpCode() == ocTableRefOpen)
{
p = pArr->Next();
int nLevel = 0;
......
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