diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-10-19 11:36:06 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-10-19 11:36:06 +0300 |
commit | 1778ad2545444f4a6caa878092257a18e8390573 (patch) | |
tree | c7cd4cbe627747b89d488e232c5aa552190d20fa /editeng | |
parent | d91e347943bd5d71f9c4c0f90f0999b3d91f0a55 (diff) |
WaE: loplugin:defaultparams
Change-Id: I65f4cc10c4a3dc5ffc21b64d76dc32f1613a0062
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index c009171a62a2..782957a14ec5 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -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(); } |