summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-06-01 23:24:01 +0200
committerAndras Timar <andras.timar@collabora.com>2016-06-01 23:24:01 +0200
commit72d1b6663a340e745af42aaf94541e4c1309b434 (patch)
tree8a8a778b0c01a7b79f6a59f0ecc339e4d55049e8
parent538d0c92ae2d5cb36869360a0889bc063a854f47 (diff)
Linux x86 build fixcp-5.0-38COOL_1.0
Change-Id: I34a393745265b8daca832c7df896bea090bb2554
-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 a255b58c1141..830abdecf75a 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1051,7 +1051,7 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
firstCol = (firstCol >= 0 ? firstCol : nStartCol);
lastCol = (lastCol >= 0 ? lastCol : nEndCol);
- auto capacity = std::min(nEndRow + 3, 1002);
+ auto capacity = std::min(nEndRow + 3, sal_Int32(1002));
ScTableInfo aTabInfo(capacity);
pDoc->FillInfo(aTabInfo, nStartCol, nStartRow, lastCol, lastRow, nTab, fPPTX, fPPTY, false, false, NULL);