summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-06-01 23:24:01 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-06-20 22:13:09 -0400
commit71deb1dacf61e5f9a1d95e14453885178d5a6f53 (patch)
treedc96a132e205c4443229fdf8327db3545d14eeea /sc
parentaff7d0ff0fc241e7d062cae4a9f6b47f365a1aea (diff)
Linux x86 build fix
Change-Id: I34a393745265b8daca832c7df896bea090bb2554 (cherry picked from commit 72d1b6663a340e745af42aaf94541e4c1309b434)
Diffstat (limited to 'sc')
-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 3bc285a3c8f4..24f45db84808 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1061,7 +1061,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);