diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-05-10 10:50:13 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-05-10 12:05:49 +0200 |
commit | 5ab5c19b13bfb35eaf84e8ea5863b30d47cb515a (patch) | |
tree | 565f5f6ff62914c0a0027d3050ad031cd95db2e3 /sc/source/ui/view/gridwin4.cxx | |
parent | e9c3dfaa9ee1096a520f527e9a99c7edcf3f34cf (diff) |
sc lok: Move the handling of the area back to GetTiledRenderingArea().
Change-Id: I4dbfc090ab43065c719f83b5355cd9832ee4d1e3
Diffstat (limited to 'sc/source/ui/view/gridwin4.cxx')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index da1c843ef789..3da00b52b669 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -1625,9 +1625,7 @@ void ScGridWindow::GetSelectionRects( ::std::vector< Rectangle >& rPixelRects ) { SCCOL nMaxTiledCol; SCROW nMaxTiledRow; - pDoc->GetTiledRenderingArea( nTab, nMaxTiledCol, nMaxTiledRow ); - nMaxTiledCol = std::max(nMaxTiledCol, pViewData->GetMaxTiledCol()); - nMaxTiledRow = std::max(nMaxTiledRow, pViewData->GetMaxTiledRow()); + pDoc->GetTiledRenderingArea(nTab, nMaxTiledCol, nMaxTiledRow); if (nX2 > nMaxTiledCol) nX2 = nMaxTiledCol; |