diff options
Diffstat (limited to 'sc/source/ui/drawfunc/futext2.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/futext2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/futext2.cxx b/sc/source/ui/drawfunc/futext2.cxx index b4e91150d970..8f30cb4a6f86 100644 --- a/sc/source/ui/drawfunc/futext2.cxx +++ b/sc/source/ui/drawfunc/futext2.cxx @@ -37,7 +37,7 @@ std::unique_ptr<SdrOutliner> FuText::MakeOutliner() // #i10426# The ref device isn't set to the EditEngine before SdrBeginTextEdit now, // so the device must be taken from the model here. OutputDevice* pRef = pDrDoc->GetRefDevice(); - if (pRef && pRef != pWindow) + if (pRef && pRef != pWindow->GetOutDev()) pRef->SetMapMode(MapMode(MapUnit::Map100thMM)); return pOutl; |