diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-20 16:28:19 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-27 14:00:40 +0200 |
commit | 3727a00f5f313ee2b1f43198f968963b0c166f08 (patch) | |
tree | 847422a9a98ca39882995bb0526ecca2911c9aa5 /sw | |
parent | cecf256f369b6f149dd53637a20bceca1ed15906 (diff) |
Reduce scope
Change-Id: I888999fb3ad759f037a6ec9b9977732a3c9b737d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/chrdlg/numpara.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx index c5ec3a94ff48..0db7854c015d 100644 --- a/sw/source/ui/chrdlg/numpara.cxx +++ b/sw/source/ui/chrdlg/numpara.cxx @@ -177,10 +177,9 @@ void SwParagraphNumTabPage::Reset( const SfxItemSet& rSet ) eItemState = rSet.GetItemState( GetWhich(SID_ATTR_PARA_NUMRULE) ); - OUString aStyle; if( eItemState >= SFX_ITEM_AVAILABLE ) { - aStyle = ((const SfxStringItem &)rSet.Get( GetWhich(SID_ATTR_PARA_NUMRULE) )).GetValue(); + OUString aStyle = ((const SfxStringItem &)rSet.Get( GetWhich(SID_ATTR_PARA_NUMRULE) )).GetValue(); if(aStyle.isEmpty()) aStyle = m_pNumberStyleLB->GetEntry(0); |