From 72d1b6663a340e745af42aaf94541e4c1309b434 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 1 Jun 2016 23:24:01 +0200 Subject: [PATCH] Linux x86 build fix Change-Id: I34a393745265b8daca832c7df896bea090bb2554 --- sc/source/ui/view/gridwin4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.4.GIT