[Libreoffice-commits] core.git: svx/source
Caolán McNamara
caolanm at redhat.com
Sat Apr 7 15:48:39 UTC 2018
svx/source/dialog/paraprev.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e371cc6cef2d94d82481a258343975556f37fa6d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Apr 5 08:36:36 2018 +0100
coverity#1433788 Unintended sign extension
Change-Id: I3d907c567157009c2b5c79c3041f3ba841639281
Reviewed-on: https://gerrit.libreoffice.org/52442
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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 );
}
More information about the Libreoffice-commits
mailing list