summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/documen2.cxx')
-rw-r--r--sc/source/core/data/documen2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index de91bf751f79..d2af6d209bd7 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -504,7 +504,7 @@ ScFieldEditEngine& ScDocument::GetEditEngine()
pEditEngine = new ScFieldEditEngine(this, GetEnginePool(), GetEditPool());
pEditEngine->SetUpdateMode( false );
pEditEngine->EnableUndo( false );
- pEditEngine->SetRefMapMode( MAP_100TH_MM );
+ pEditEngine->SetRefMapMode( MapUnit::Map100thMM );
ApplyAsianEditSettings( *pEditEngine );
}
return *pEditEngine;
@@ -517,7 +517,7 @@ ScNoteEditEngine& ScDocument::GetNoteEngine()
pNoteEngine = new ScNoteEditEngine( GetEnginePool(), GetEditPool() );
pNoteEngine->SetUpdateMode( false );
pNoteEngine->EnableUndo( false );
- pNoteEngine->SetRefMapMode( MAP_100TH_MM );
+ pNoteEngine->SetRefMapMode( MapUnit::Map100thMM );
ApplyAsianEditSettings( *pNoteEngine );
const SfxItemSet& rItemSet = GetDefPattern()->GetItemSet();
SfxItemSet* pEEItemSet = new SfxItemSet( pNoteEngine->GetEmptyItemSet() );