summaryrefslogtreecommitdiff
path: root/sd/source/filter/grf/sdgrffilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/grf/sdgrffilter.cxx')
-rw-r--r--sd/source/filter/grf/sdgrffilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx
index 9e4bb2f706ca..f0137e847837 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -194,7 +194,7 @@ bool SdGRFFilter::Import()
Point aPos;
Size aPagSize( pPage->GetSize() );
Size aGrfSize( OutputDevice::LogicToLogic( aGraphic.GetPrefSize(),
- aGraphic.GetPrefMapMode(), MAP_100TH_MM ) );
+ aGraphic.GetPrefMapMode(), MapUnit::Map100thMM ) );
aPagSize.Width() -= pPage->GetLftBorder() + pPage->GetRgtBorder();
aPagSize.Height() -= pPage->GetUppBorder() + pPage->GetLwrBorder();