diff options
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 2 |
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); |