[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 19 02:54:46 PDT 2015


 sd/source/ui/dlg/dlgolbul.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3ec7983495d8477c2b35145a31e5b3170332c5a1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 11:54:18 2015 +0200

    loplugin:defaultparams
    
    Change-Id: Ifb59fc408bdbbe7edcb78f1c48dc462422f21a71

diff --git a/sd/source/ui/dlg/dlgolbul.cxx b/sd/source/ui/dlg/dlgolbul.cxx
index 2920297..45e9255 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 );


More information about the Libreoffice-commits mailing list