Avoid false warning about potentially uninitialized variable
Change-Id: I969b17ffe89e5fbb0f30a47acecaf6698e81fefe
This commit is contained in:
parent
00a95ff712
commit
2c544ef03e
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user