From a6ab2c0f7354ddf3a1aa3e565e184bccfc21b839 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Fri, 17 Jun 2016 20:15:38 -0400 Subject: Use explicit type in std::max Change-Id: I777d5387d9377f0f8032d68a9191a7fa110287c5 Reviewed-on: https://gerrit.libreoffice.org/26477 Reviewed-by: Ashod Nakashian Tested-by: Ashod Nakashian --- sc/source/ui/view/gridwin4.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index cc6c733694a9..ea1bc5cd84c6 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -1077,8 +1077,8 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice, nTopLeftTileCol = std::min(nTopLeftTileCol, (sal_Int32)nEndCol); nTopLeftTileRow = std::min(nTopLeftTileRow, (sal_Int32)nEndRow); - nTopLeftTileCol = std::max(nTopLeftTileCol, 0); - nTopLeftTileRow = std::max(nTopLeftTileRow, 0); + nTopLeftTileCol = std::max(nTopLeftTileCol, 0); + nTopLeftTileRow = std::max(nTopLeftTileRow, 0); nBottomRightTileCol = std::min(nBottomRightTileCol, (sal_Int32)nEndCol); nBottomRightTileRow = std::min(nBottomRightTileRow, (sal_Int32)nEndRow); nTopLeftTileColOrigin = nTopLeftTileColOrigin * TWIPS_PER_PIXEL; -- cgit