diff options
Diffstat (limited to 'svx/source/items/customshapeitem.cxx')
-rw-r--r-- | svx/source/items/customshapeitem.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/items/customshapeitem.cxx b/svx/source/items/customshapeitem.cxx index 16a57671eba3..b5bc7a9d56fb 100644 --- a/svx/source/items/customshapeitem.cxx +++ b/svx/source/items/customshapeitem.cxx @@ -239,7 +239,7 @@ bool SdrCustomShapeGeometryItem::operator==( const SfxPoolItem& rCmp ) const return bRet; } -SfxItemPresentation SdrCustomShapeGeometryItem::GetPresentation( +bool SdrCustomShapeGeometryItem::GetPresentation( SfxItemPresentation ePresentation, SfxMapUnit /*eCoreMetric*/, SfxMapUnit /*ePresentationMetric*/, OUString &rText, const IntlWrapper *) const { @@ -247,8 +247,11 @@ SfxItemPresentation SdrCustomShapeGeometryItem::GetPresentation( if ( ePresentation == SFX_ITEM_PRESENTATION_COMPLETE ) { rText = " " + rText; + return true; } - return ePresentation; + else if ( ePresentation == SFX_ITEM_PRESENTATION_NAMELESS ) + return true; + return false; } SfxPoolItem* SdrCustomShapeGeometryItem::Create( SvStream& rIn, sal_uInt16 nItemVersion ) const |