diff options
author | Henry Castro <hcastro@collabora.com> | 2015-04-02 16:08:57 -0400 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-07 09:18:15 +0200 |
commit | 9fb3ace37f2cf954cc75a28e01a19ab5e7ce2d49 (patch) | |
tree | 200fd75d509e67600760bd72d3c762a297e48ce1 /sc | |
parent | 60412610929961a3c14363944787c5024c062ce7 (diff) |
sc tiled editing: Changed function to PixelToLogic.
The default DPI is 72 using static function OutputDevice::LogicToLogic.
Change-Id: I8aba7e74f745092a34e8b50c4e52f84c1de77695
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 81c413642933..7202f3d19d50 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -994,7 +994,7 @@ void ScGridWindow::LogicInvalidate(const Rectangle* pRectangle) aRectangle = OutputDevice::LogicToLogic(aRectangle, MAP_100TH_MM, MAP_TWIP); } else - aRectangle = OutputDevice::LogicToLogic(aRectangle, MAP_PIXEL, MAP_TWIP); + aRectangle = PixelToLogic(aRectangle, MapMode(MAP_TWIP)); sRectangle = aRectangle.toString(); } |