diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index a586b9af226e..25f499ab407a 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -3671,8 +3671,8 @@ bool SwWW8ImplReader::ReadChar(long nPosCp, long nCpOfs) { WW8_FC nPos; void *pData; - pTest->Get(nPos, pData); - sal_uInt32 nData = SVBT32ToUInt32(*static_cast(pData)); + sal_uInt32 nData = pTest->Get(nPos, pData) ? SVBT32ToUInt32(*static_cast(pData)) + : 0; if (nData & 0x2) // Might be how it works { TabCellEnd();