summaryrefslogtreecommitdiff
path: root/svl/source/items/ctypeitm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/ctypeitm.cxx')
-rw-r--r--svl/source/items/ctypeitm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/ctypeitm.cxx b/svl/source/items/ctypeitm.cxx
index d0a2734d3204..cbc8d28bf038 100644
--- a/svl/source/items/ctypeitm.cxx
+++ b/svl/source/items/ctypeitm.cxx
@@ -130,7 +130,7 @@ int CntContentTypeItem::Compare( const SfxPoolItem &rWith, const IntlWrapper& rI
return rIntlWrapper.getCollator()->compareString( aOwnText, aWithText );
}
-SfxItemPresentation CntContentTypeItem::GetPresentation(
+bool CntContentTypeItem::GetPresentation(
SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -149,7 +149,7 @@ SfxItemPresentation CntContentTypeItem::GetPresentation(
if (!_aPresentation.isEmpty())
{
rText = _aPresentation;
- return SFX_ITEM_PRESENTATION_COMPLETE;
+ return true;
}
else
return CntUnencodedStringItem::GetPresentation(ePres, eCoreMetric,