summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-24 12:50:48 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-24 12:51:08 +0100
commit80f57172833ec720a2bc0d7d9c8f82f8bc5fc70d (patch)
tree199b942cda4b8f9e1735cc7a5c30d54afd52a2cf /sw
parentbbf73cac51d7cfb58f05e0bd3239980c79810123 (diff)
Fix uninitialized local variable
Change-Id: I0ef7779b76909dbe4fdfea58dbaf54cd01f7dcfa
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 1a9024579413..c35b6fee7beb 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -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() ) &&