[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sc/source

Andras Timar andras.timar at collabora.com
Wed Jun 1 21:24:33 UTC 2016


 sc/source/ui/view/gridwin4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72d1b6663a340e745af42aaf94541e4c1309b434
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Jun 1 23:24:01 2016 +0200

    Linux x86 build fix
    
    Change-Id: I34a393745265b8daca832c7df896bea090bb2554

diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index a255b58..830abde 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);
 


More information about the Libreoffice-commits mailing list