summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/docshell/docshel4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/docshell/docshel4.cxx')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 63696aa45269..b6467f2dcd7e 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -126,7 +126,7 @@ SfxPrinter* DrawDocShell::GetPrinter(bool bCreate)
mpPrinter->SetDrawMode( nMode );
MapMode aMM (mpPrinter->GetMapMode());
- aMM.SetMapUnit(MAP_100TH_MM);
+ aMM.SetMapUnit(MapUnit::Map100thMM);
mpPrinter->SetMapMode(aMM);
UpdateRefDevice();
}