coverity#704055 Unchecked return value

Change-Id: Ie0c8155955ba975c913738adf40ef6ec092adba0
This commit is contained in:
Caolán McNamara
2017-01-21 14:45:02 +00:00
parent f9b87a2e50
commit 07bcb812c9

View File

@@ -3671,8 +3671,8 @@ bool SwWW8ImplReader::ReadChar(long nPosCp, long nCpOfs)
{ {
WW8_FC nPos; WW8_FC nPos;
void *pData; void *pData;
pTest->Get(nPos, pData); sal_uInt32 nData = pTest->Get(nPos, pData) ? SVBT32ToUInt32(*static_cast<SVBT32*>(pData))
sal_uInt32 nData = SVBT32ToUInt32(*static_cast<SVBT32*>(pData)); : 0;
if (nData & 0x2) // Might be how it works if (nData & 0x2) // Might be how it works
{ {
TabCellEnd(); TabCellEnd();