Avoid false warning about potentially uninitialized variable

Change-Id: I969b17ffe89e5fbb0f30a47acecaf6698e81fefe
This commit is contained in:
Stephan Bergmann 2013-11-29 08:55:16 +01:00
parent 00a95ff712
commit 2c544ef03e

View File

@ -331,7 +331,7 @@ bool lcl_checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* p
SwTxtNode* pTxtNode = static_cast<SwTxtNode*>(pStartNode);
const SfxPoolItem* pItem;
const SfxPoolItem* pItem = 0; // explicitly init to avoid warnings
bool bItemSet = false;
if (pTxtNode->HasSwAttrSet())
{