summaryrefslogtreecommitdiffstats
path: root/sd/source/core/drawdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/drawdoc.cxx')
-rw-r--r--sd/source/core/drawdoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 3df30906acf2..6726f3736d9e 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -200,11 +200,11 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
else
SetUIUnit( (FieldUnit)pOptions->GetMetric(), Fraction( 1, 1 ) ); // default
- SetScaleUnit(MAP_100TH_MM);
+ SetScaleUnit(MapUnit::Map100thMM);
SetScaleFraction(Fraction(1, 1));
SetDefaultFontHeight(847); // 24p
- pItemPool->SetDefaultMetric(MAP_100TH_MM);
+ pItemPool->SetDefaultMetric(MapUnit::Map100thMM);
pItemPool->FreezeIdRanges();
SetTextDefaults();