Kaydet (Commit) 80f57172 authored tarafından Julien Nabet's avatar Julien Nabet

Fix uninitialized local variable

Change-Id: I0ef7779b76909dbe4fdfea58dbaf54cd01f7dcfa
üst bbf73cac
......@@ -761,7 +761,7 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
{
// If we have a PoolNumRule, create it if needed
const SwNumRuleItem* pRule;
sal_uInt16 nPoolId;
sal_uInt16 nPoolId=0;
if( SFX_ITEM_SET == pOtherSet->GetItemState( RES_PARATR_NUMRULE,
sal_False, (const SfxPoolItem**)&pRule ) &&
!pDoc->FindNumRulePtr( pRule->GetValue() ) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment