diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-04-03 23:07:31 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-07 09:18:20 +0200 |
commit | cc3d6c217b59969c8b163f4d7aae0f524b58fead (patch) | |
tree | acc164aa69c2fccc4603ca07deb4c4b52215ad93 /sc | |
parent | 577eb5098363417eb87b25ed75007c5fe9857a2d (diff) |
Revert "sc tiled editing: This got fixed by the recent changes."
Needed again.
This reverts commit b11c58889cde10f43a9f239a959eb2c252dc4db7.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index a9c013555ec0..269d12ee17f5 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -893,7 +893,10 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI // set the correct mapmode Rectangle aBackground(aStart, aEnd); if (bIsTiledRendering) + { + aBackground += Point(nScrX, nScrY); rDevice.SetMapMode(aDrawMode); + } else rDevice.SetMapMode(pViewData->GetLogicMode()); |