summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:51 +0200
commitad6e444a31b5c8848a17ac461021493aa2293f23 (patch)
tree107afe0cf37929f4e7421b274f4b4a4d7c2fd806 /editeng/source/uno/unotext.cxx
parentf36de375975375d3d5ba4fe5244abf9cd2a6b98c (diff)
loplugin:defaultparams
Change-Id: I62e0ec63ff09c200e0b621c8b042a976e8ce630e
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r--editeng/source/uno/unotext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 782957a14ec5..76297e5e1088 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -697,7 +697,7 @@ bool SvxUnoTextRangeBase::GetPropertyValueHelper( SfxItemSet& rSet, const SfxIt
case EE_PARA_NUMBULLET:
{
- SfxItemState eState = rSet.GetItemState( EE_PARA_NUMBULLET, true );
+ SfxItemState eState = rSet.GetItemState( EE_PARA_NUMBULLET );
if( eState != SfxItemState::SET && eState != SfxItemState::DEFAULT)
throw uno::RuntimeException();
@@ -739,7 +739,7 @@ bool SvxUnoTextRangeBase::GetPropertyValueHelper( SfxItemSet& rSet, const SfxIt
case EE_PARA_BULLETSTATE:
{
bool bState = false;
- SfxItemState eState = rSet.GetItemState( EE_PARA_BULLETSTATE, true );
+ SfxItemState eState = rSet.GetItemState( EE_PARA_BULLETSTATE );
if( eState == SfxItemState::SET || eState == SfxItemState::DEFAULT )
{
const SfxBoolItem* pItem = static_cast<const SfxBoolItem*>(rSet.GetItem( EE_PARA_BULLETSTATE ));