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 bb8fc9400e90..9cf67a1371ec 100644
--- a/svl/source/items/ctypeitm.cxx
+++ b/svl/source/items/ctypeitm.cxx
@@ -164,7 +164,7 @@ SfxItemPresentation CntContentTypeItem::GetPresentation(
DBG_ASSERT(pIntlWrapper,
"CntContentTypeItem::GetPresentation(): No IntlWrapper");
if (pIntlWrapper)
- SAL_CONST_CAST(CntContentTypeItem *, this)->_aPresentation
+ (const_cast< CntContentTypeItem * >(this))->_aPresentation
= INetContentTypes::GetPresentation(GetEnumValue(),
pIntlWrapper->
getLocale());
@@ -187,7 +187,7 @@ INetContentType CntContentTypeItem::GetEnumValue() const
{
// Not yet initialized... Get enum value for string content type.
- CntContentTypeItem* pVarThis = SAL_CONST_CAST( CntContentTypeItem*, this );
+ CntContentTypeItem* pVarThis = (const_cast< CntContentTypeItem* >(this));
pVarThis->_eType = INetContentTypes::GetContentType( GetValue() );
}