Kaydet (Commit) 1778ad25 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: loplugin:defaultparams

Change-Id: I65f4cc10c4a3dc5ffc21b64d76dc32f1613a0062
üst d91e3479
......@@ -701,7 +701,7 @@ bool SvxUnoTextRangeBase::GetPropertyValueHelper( SfxItemSet& rSet, const SfxIt
if( eState != SfxItemState::SET && eState != SfxItemState::DEFAULT)
throw uno::RuntimeException();
const SvxNumBulletItem* pBulletItem = static_cast<const SvxNumBulletItem*>(rSet.GetItem( EE_PARA_NUMBULLET, true ));
const SvxNumBulletItem* pBulletItem = static_cast<const SvxNumBulletItem*>(rSet.GetItem( EE_PARA_NUMBULLET ));
if( pBulletItem == NULL )
throw uno::RuntimeException();
......@@ -742,7 +742,7 @@ bool SvxUnoTextRangeBase::GetPropertyValueHelper( SfxItemSet& rSet, const SfxIt
SfxItemState eState = rSet.GetItemState( EE_PARA_BULLETSTATE, true );
if( eState == SfxItemState::SET || eState == SfxItemState::DEFAULT )
{
const SfxBoolItem* pItem = static_cast<const SfxBoolItem*>(rSet.GetItem( EE_PARA_BULLETSTATE, true ));
const SfxBoolItem* pItem = static_cast<const SfxBoolItem*>(rSet.GetItem( EE_PARA_BULLETSTATE ));
bState = pItem->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