diff options
Diffstat (limited to 'svl/source/items/cenumitm.cxx')
-rw-r--r-- | svl/source/items/cenumitm.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx index 49250a70ac5c..536d2d717220 100644 --- a/svl/source/items/cenumitm.cxx +++ b/svl/source/items/cenumitm.cxx @@ -37,13 +37,12 @@ bool SfxEnumItemInterface::operator ==(const SfxPoolItem & rItem) const } // virtual -SfxItemPresentation -SfxEnumItemInterface::GetPresentation(SfxItemPresentation, SfxMapUnit, +bool SfxEnumItemInterface::GetPresentation(SfxItemPresentation, SfxMapUnit, SfxMapUnit, OUString & rText, const IntlWrapper *) const { rText = OUString::number( GetEnumValue() ); - return SFX_ITEM_PRESENTATION_NAMELESS; + return true; } // virtual @@ -173,13 +172,13 @@ int SfxBoolItem::Compare(const SfxPoolItem & rWith) const } // virtual -SfxItemPresentation SfxBoolItem::GetPresentation(SfxItemPresentation, +bool SfxBoolItem::GetPresentation(SfxItemPresentation, SfxMapUnit, SfxMapUnit, OUString & rText, const IntlWrapper *) const { rText = GetValueTextByVal(m_bValue); - return SFX_ITEM_PRESENTATION_NAMELESS; + return true; } // virtual |