cid#1608165 Overflowed constant
Change-Id: Ie360d3c479e639c3b97ab532d5f0778809ca2d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173549 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user