From 07bcb812c95617ee543e51568cbc8fa83fed243e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 21 Jan 2017 14:45:02 +0000 Subject: [PATCH] coverity#704055 Unchecked return value Change-Id: Ie0c8155955ba975c913738adf40ef6ec092adba0 --- sw/source/filter/ww8/ww8par.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();