diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index 1268596c7042..8506ec0d492e 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -1003,7 +1003,12 @@ void Window::LogicInvalidate(const Rectangle* pRectangle) if (!pRectangle) sRectangle = "EMPTY"; else - sRectangle = pRectangle->toString(); + { + Rectangle aRectangle(*pRectangle); + if (GetMapMode().GetMapUnit() == MAP_100TH_MM) + aRectangle = OutputDevice::LogicToLogic(aRectangle, MAP_100TH_MM, MAP_TWIP); + sRectangle = aRectangle.toString(); + } mpViewShell->GetDoc()->libreOfficeKitCallback(LOK_CALLBACK_INVALIDATE_TILES, sRectangle.getStr()); } |