From 3ec7983495d8477c2b35145a31e5b3170332c5a1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 19 Oct 2015 11:54:18 +0200 Subject: loplugin:defaultparams Change-Id: Ifb59fc408bdbbe7edcb78f1c48dc462422f21a71 --- sd/source/ui/dlg/dlgolbul.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/dlg/dlgolbul.cxx b/sd/source/ui/dlg/dlgolbul.cxx index 292029707244..45e92550ea82 100644 --- a/sd/source/ui/dlg/dlgolbul.cxx +++ b/sd/source/ui/dlg/dlgolbul.cxx @@ -111,7 +111,7 @@ OutlineBulletDlg::OutlineBulletDlg( if(bTitle && aInputSet.GetItemState(EE_PARA_NUMBULLET,true) == SfxItemState::SET ) { - const SvxNumBulletItem* pItem = static_cast( aInputSet.GetItem(EE_PARA_NUMBULLET,true) ); + const SvxNumBulletItem* pItem = static_cast( aInputSet.GetItem(EE_PARA_NUMBULLET) ); SvxNumRule* pRule = pItem->GetNumRule(); if(pRule) { @@ -186,7 +186,7 @@ const SfxItemSet* OutlineBulletDlg::GetOutputItemSet() const if(bTitle && pOutputSet->GetItemState(EE_PARA_NUMBULLET,true) == SfxItemState::SET ) { - const SvxNumBulletItem* pBulletItem = static_cast(pOutputSet->GetItem(EE_PARA_NUMBULLET,true)); + const SvxNumBulletItem* pBulletItem = static_cast(pOutputSet->GetItem(EE_PARA_NUMBULLET)); SvxNumRule* pRule = pBulletItem->GetNumRule(); if(pRule) pRule->SetFeatureFlag( SvxNumRuleFlags::NO_NUMBERS, false ); -- cgit