From 2ccde70d60d3a5074faf49260e8fe0ccdb91ff26 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 May 2017 15:55:38 +0200 Subject: teach redundantcast plugin about functional casts Change-Id: Iac8ccd17d9e46ebb2cb55db7adb06c469bbd4ea0 Reviewed-on: https://gerrit.libreoffice.org/37910 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- editeng/source/items/svxfont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng/source/items/svxfont.cxx') diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 1cd3d491293f..eede74c3d3bf 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -516,7 +516,7 @@ void SvxFont::DrawPrev( OutputDevice *pOut, Printer* pPrinter, else nTmpEsc = nEsc; Size aSize = ( this->GetFontSize() ); - aPos.Y() -= ( ( nTmpEsc * long( aSize.Height() ) ) / 100L ); + aPos.Y() -= ( nTmpEsc * aSize.Height() ) / 100L; } Font aOldFont( ChgPhysFont( pOut ) ); Font aOldPrnFont( ChgPhysFont( pPrinter ) ); -- cgit