From 08b8585f66073d90e5e11db9b8b3fbcbdaf2adc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 17 Sep 2024 10:45:14 +0100 Subject: [PATCH] cid#1608165 Overflowed constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie360d3c479e639c3b97ab532d5f0778809ca2d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173549 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index e57a82ec8150..24f62aa23090 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -1154,7 +1154,7 @@ void NormalModeHandler::RangeSelect (const model::SharedPageDescriptor& rpDescri // page. This way the PageSelector will recognize it again as // anchor (the first selected page after a DeselectAllPages() // becomes the anchor.) - const sal_uInt16 nStep ((nAnchorIndex < nOtherIndex) ? +1 : -1); + const sal_Int16 nStep ((nAnchorIndex < nOtherIndex) ? +1 : -1); sal_uInt16 nIndex (nAnchorIndex); while (true) {