coverity#1157770 Logically dead code

Change-Id: I28a19cbf77cf6354107a31a432a810e73ba45538
This commit is contained in:
Caolán McNamara
2014-04-16 14:26:44 +01:00
parent e19b3b4230
commit a4d5f7d085

View File

@@ -1455,7 +1455,7 @@ OUString SwAccessibleParagraph::GetFieldTypeNameAtIndex(sal_Int32 nIndex)
const SwpHints* pSwpHints = GetTxtNode()->GetpSwpHints();
if (pSwpHints)
{
const sal_uInt16 nSize = pSwpHints ? pSwpHints->Count() : 0;
const sal_uInt16 nSize = pSwpHints->Count();
for( sal_uInt16 i = 0; i < nSize; ++i )
{
const SwTxtAttr* pHt = (*pSwpHints)[i];