svx/source/dialog/paraprev.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e371cc6cef2d94d82481a258343975556f37fa6d Author: Caolán McNamara <caol...@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 <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits