summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin4.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-06-22 15:47:44 +0200
committerJan Holesovsky <kendy@collabora.com>2015-06-22 15:50:17 +0200
commit418c6167cea2bc89743fecaf7d36ec99c81891cb (patch)
treebb6bff67b4823c3d2fe3b780fbbaeecad0680ff4 /sc/source/ui/view/gridwin4.cxx
parent1bcf792993c3d88acfd7ede4567701c5dd6e7e62 (diff)
sc tiled rendering: Set some minimal size of the document.
Let's default to 12x36 cells. Change-Id: Ic39739ec036a6e5867d31b7e05b6da12ce2e46d2
Diffstat (limited to 'sc/source/ui/view/gridwin4.cxx')
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 1457d9f20bc8..3523a620a56b 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -976,7 +976,7 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
SCROW nStartRow = 0, nEndRow = 0;
// size of the document including drawings, charts, etc.
- pDoc->GetPrintArea(nTab, nEndCol, nEndRow, false);
+ pDoc->GetTiledRenderingArea(nTab, nEndCol, nEndRow);
double fPPTX = pViewData->GetPPTX();
double fPPTY = pViewData->GetPPTY();