diff options
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xattr2.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index b917ec23c331..119003770e5d 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -2207,7 +2207,7 @@ void XFillStyleItem::dumpAsXml(xmlTextWriterPtr pWriter) const xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr())); OUString aPresentation; - GetPresentation(SFX_ITEM_PRESENTATION_NAMELESS, MAP_100TH_MM, MAP_100TH_MM, aPresentation); + GetPresentation(SfxItemPresentation::Nameless, MAP_100TH_MM, MAP_100TH_MM, aPresentation); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("presentation"), BAD_CAST(aPresentation.toUtf8().getStr())); xmlTextWriterEndElement(pWriter); diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx index 6cba0981081f..16a503fe33b7 100644 --- a/svx/source/xoutdev/xattr2.cxx +++ b/svx/source/xoutdev/xattr2.cxx @@ -68,10 +68,10 @@ bool XLineTransparenceItem::GetPresentation switch ( ePres ) { - case SFX_ITEM_PRESENTATION_COMPLETE: + case SfxItemPresentation::Complete: rText = OUString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) ) + ": "; SAL_FALLTHROUGH; - case SFX_ITEM_PRESENTATION_NAMELESS: + case SfxItemPresentation::Nameless: rText += unicode::formatPercent(GetValue(), Application::GetSettings().GetUILanguageTag()); return true; @@ -428,10 +428,10 @@ bool XFillTransparenceItem::GetPresentation switch ( ePres ) { - case SFX_ITEM_PRESENTATION_COMPLETE: + case SfxItemPresentation::Complete: rText = OUString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) ) + ": "; SAL_FALLTHROUGH; - case SFX_ITEM_PRESENTATION_NAMELESS: + case SfxItemPresentation::Nameless: rText += unicode::formatPercent(GetValue(), Application::GetSettings().GetUILanguageTag()); return true; |