summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/itempool.cxx2
-rw-r--r--svl/source/items/poolitem.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 40fde3da9dae..330d2f77b113 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -469,7 +469,7 @@ bool SfxItemPool::GetPresentation
) const
{
return rItem.GetPresentation(
- SFX_ITEM_PRESENTATION_COMPLETE, GetMetric(rItem.Which()), eMetric, rText, pIntlWrapper );
+ SfxItemPresentation::Complete, GetMetric(rItem.Which()), eMetric, rText, pIntlWrapper );
}
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index 93fe79e416cc..f11a2904672a 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -154,12 +154,12 @@ SvStream& SfxPoolItem::Store(SvStream &rStream, sal_uInt16 ) const
* The corresponding unit of measure is passed as 'ePresentationMetric'.
*
*
- * @return SfxItemPresentation SFX_ITEM_PRESENTATION_NAMELESS
+ * @return SfxItemPresentation SfxItemPresentation::Nameless
* A textual representation (if applicable
* with a unit of measure) could be created,
* but it doesn't contain any semantic meaning
*
- * SFX_ITEM_PRESENTATION_COMPLETE
+ * SfxItemPresentation::Complete
* A complete textual representation could be
* created with semantic meaning (if applicable
* with unit of measure)
@@ -167,10 +167,10 @@ SvStream& SfxPoolItem::Store(SvStream &rStream, sal_uInt16 ) const
* Example:
*
* pSvxFontItem->GetPresentation( SFX_PRESENTATION_NAMELESS, ... )
- * "12pt" with return SFX_ITEM_PRESENTATION_NAMELESS
+ * "12pt" with return SfxItemPresentation::Nameless
*
* pSvxColorItem->GetPresentation( SFX_PRESENTATION_COMPLETE, ... )
- * "red" with return SFX_ITEM_PRESENTATION_NAMELESS
+ * "red" with return SfxItemPresentation::Nameless
* Because the SvxColorItem does not know which color it represents
* it cannot provide a name, which is communicated by the return value
*
@@ -195,7 +195,7 @@ void SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("typeName"), BAD_CAST(typeid(*this).name()));
OUString rText;
- if (GetPresentation( SFX_ITEM_PRESENTATION_COMPLETE, MAP_100TH_MM, MAP_100TH_MM, rText))
+ if (GetPresentation( SfxItemPresentation::Complete, MAP_100TH_MM, MAP_100TH_MM, rText))
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("presentation"), BAD_CAST(rText.getStr()));
xmlTextWriterEndElement(pWriter);
}