Kaydet (Commit) 3727a00f authored tarafından Matteo Casalin's avatar Matteo Casalin

Reduce scope

Change-Id: I888999fb3ad759f037a6ec9b9977732a3c9b737d
üst cecf256f
......@@ -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);
......
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