From e371cc6cef2d94d82481a258343975556f37fa6d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 5 Apr 2018 08:36:36 +0100 Subject: coverity#1433788 Unintended sign extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3d907c567157009c2b5c79c3041f3ba841639281 Reviewed-on: https://gerrit.libreoffice.org/52442 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/dialog/paraprev.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index 9f203542cae5..66661c0bc3f1 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -200,7 +200,7 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext) if (5 == i) { - long nBottom = nLower * aLineSiz.Height() / aSize.Height(); + auto nBottom = nLower * aLineSiz.Height() / aSize.Height(); aPnt.AdjustY(nBottom * 2 ); } -- cgit