summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 11:54:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 11:54:18 +0200
commit3ec7983495d8477c2b35145a31e5b3170332c5a1 (patch)
tree57634abb0421e32cd3cf12158c74f7ce7177ea58 /sd
parentloplugin:defaultparams (diff)
downloadcore-3ec7983495d8477c2b35145a31e5b3170332c5a1.tar.gz
core-3ec7983495d8477c2b35145a31e5b3170332c5a1.zip
loplugin:defaultparams
Change-Id: Ifb59fc408bdbbe7edcb78f1c48dc462422f21a71
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/dlgolbul.cxx4
1 files changed, 2 insertions, 2 deletions
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<const SvxNumBulletItem*>( aInputSet.GetItem(EE_PARA_NUMBULLET,true) );
+ const SvxNumBulletItem* pItem = static_cast<const SvxNumBulletItem*>( 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<const SvxNumBulletItem*>(pOutputSet->GetItem(EE_PARA_NUMBULLET,true));
+ const SvxNumBulletItem* pBulletItem = static_cast<const SvxNumBulletItem*>(pOutputSet->GetItem(EE_PARA_NUMBULLET));
SvxNumRule* pRule = pBulletItem->GetNumRule();
if(pRule)
pRule->SetFeatureFlag( SvxNumRuleFlags::NO_NUMBERS, false );