summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r--editeng/source/uno/unotext.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index eb745a27f4c9..4902128db4ee 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -506,7 +506,7 @@ bool SvxUnoTextRangeBase::SetPropertyValueHelper( const SfxItemPropertySimpleEnt
}
break;
- case EE_PARA_NUMBULLET.Which():
+ case EE_PARA_NUMBULLET:
{
uno::Reference< container::XIndexReplace > xRule;
return !aValue.hasValue() || ((aValue >>= xRule) && !xRule.is());
@@ -557,12 +557,12 @@ bool SvxUnoTextRangeBase::SetPropertyValueHelper( const SfxItemPropertySimpleEnt
}
}
break;
- case EE_PARA_BULLETSTATE.Which():
+ case EE_PARA_BULLETSTATE:
{
bool bBullet = true;
if( aValue >>= bBullet )
{
- SfxBoolItem aItem( EE_PARA_BULLETSTATE.Which(), bBullet );
+ SfxBoolItem aItem( EE_PARA_BULLETSTATE, bBullet );
rNewSet.Put(aItem);
return true;
}
@@ -678,7 +678,7 @@ bool SvxUnoTextRangeBase::GetPropertyValueHelper( SfxItemSet const & rSet, cons
}
break;
- case EE_PARA_NUMBULLET.Which():
+ case EE_PARA_NUMBULLET:
{
SfxItemState eState = rSet.GetItemState( EE_PARA_NUMBULLET );
if( eState != SfxItemState::SET && eState != SfxItemState::DEFAULT)
@@ -719,7 +719,7 @@ bool SvxUnoTextRangeBase::GetPropertyValueHelper( SfxItemSet const & rSet, cons
}
break;
- case EE_PARA_BULLETSTATE.Which():
+ case EE_PARA_BULLETSTATE:
{
bool bState = false;
SfxItemState eState = rSet.GetItemState( EE_PARA_BULLETSTATE );