summaryrefslogtreecommitdiffstats
path: root/svx/source/items/grfitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/grfitem.cxx')
-rw-r--r--svx/source/items/grfitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/items/grfitem.cxx b/svx/source/items/grfitem.cxx
index e4cfffc41166..8f13f3370f05 100644
--- a/svx/source/items/grfitem.cxx
+++ b/svx/source/items/grfitem.cxx
@@ -135,7 +135,7 @@ bool SvxGrfCrop::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
bool SvxGrfCrop::GetPresentation(
- SfxItemPresentation ePres, SfxMapUnit eCoreUnit, SfxMapUnit /*ePresUnit*/,
+ SfxItemPresentation ePres, MapUnit eCoreUnit, MapUnit /*ePresUnit*/,
OUString &rText, const IntlWrapper* pIntl ) const
{
rText.clear();
@@ -144,10 +144,10 @@ bool SvxGrfCrop::GetPresentation(
case SFX_ITEM_PRESENTATION_NAMELESS:
return true;
case SFX_ITEM_PRESENTATION_COMPLETE:
- rText = "L: " + OUString(::GetMetricText( GetLeft(), eCoreUnit, SFX_MAPUNIT_MM, pIntl )) +
- " R: " + OUString(::GetMetricText( GetRight(), eCoreUnit, SFX_MAPUNIT_MM, pIntl )) +
- " T: " + OUString(::GetMetricText( GetTop(), eCoreUnit, SFX_MAPUNIT_MM, pIntl )) +
- " B: " + OUString(::GetMetricText( GetBottom(), eCoreUnit, SFX_MAPUNIT_MM, pIntl ));
+ rText = "L: " + OUString(::GetMetricText( GetLeft(), eCoreUnit, MAP_MM, pIntl )) +
+ " R: " + OUString(::GetMetricText( GetRight(), eCoreUnit, MAP_MM, pIntl )) +
+ " T: " + OUString(::GetMetricText( GetTop(), eCoreUnit, MAP_MM, pIntl )) +
+ " B: " + OUString(::GetMetricText( GetBottom(), eCoreUnit, MAP_MM, pIntl ));
return true;
break;