summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drtxtob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drtxtob.cxx')
-rw-r--r--sd/source/ui/view/drtxtob.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index 237a451c007e..0a0de09320b3 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -583,9 +583,9 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
SvxEscapement eEsc = (SvxEscapement ) static_cast<const SvxEscapementItem&>(
aAttrSet.Get( EE_CHAR_ESCAPEMENT ) ).GetEnumValue();
- if( eEsc == SVX_ESCAPEMENT_SUPERSCRIPT )
+ if( eEsc == SvxEscapement::Superscript )
rSet.Put( SfxBoolItem( SID_SET_SUPER_SCRIPT, true ) );
- else if( eEsc == SVX_ESCAPEMENT_SUBSCRIPT )
+ else if( eEsc == SvxEscapement::Subscript )
rSet.Put( SfxBoolItem( SID_SET_SUB_SCRIPT, true ) );
}