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 0fb0bea255d7..d34ca8d27471 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -179,7 +179,7 @@ bool SdGRFFilter::Import()
Point aPos;
Size aPagSize( pPage->GetSize() );
Size aGrfSize( OutputDevice::LogicToLogic( aGraphic.GetPrefSize(),
- aGraphic.GetPrefMapMode(), MapUnit::Map100thMM ) );
+ aGraphic.GetPrefMapMode(), MapMode(MapUnit::Map100thMM)));
aPagSize.Width() -= pPage->GetLeftBorder() + pPage->GetRightBorder();
aPagSize.Height() -= pPage->GetUpperBorder() + pPage->GetLowerBorder();