From c7d3440fed86c7ef986cdaf57dfe2017325ff190 Mon Sep 17 00:00:00 2001 From: ekuiitr Date: Mon, 4 Dec 2017 00:58:09 +0530 Subject: tdf#96505 removed "L" literal Change-Id: Ie12d65d0a8aaff3ede099e0301cafbc41ebdc2c6 Reviewed-on: https://gerrit.libreoffice.org/45736 Tested-by: Jenkins Reviewed-by: Mark Hung Reviewed-by: Mike Kaganski --- editeng/source/items/svxfont.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editeng') diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 9714006eda2c..1895536c090d 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -322,8 +322,8 @@ void SvxFont::SetPhysFont( OutputDevice *pOut ) const { Font aNewFont( *this ); Size aSize( aNewFont.GetFontSize() ); - aNewFont.SetFontSize( Size( aSize.Width() * nPropr / 100L, - aSize.Height() * nPropr / 100L ) ); + aNewFont.SetFontSize( Size( aSize.Width() * nPropr / 100, + aSize.Height() * nPropr / 100 ) ); if ( !rCurrentFont.IsSameInstance( aNewFont ) ) pOut->SetFont( aNewFont ); } @@ -516,7 +516,7 @@ void SvxFont::DrawPrev( OutputDevice *pOut, Printer* pPrinter, else nTmpEsc = nEsc; Size aSize = GetFontSize(); - aPos.Y() -= ( nTmpEsc * aSize.Height() ) / 100L; + aPos.Y() -= ( nTmpEsc * aSize.Height() ) / 100; } Font aOldFont( ChgPhysFont( pOut ) ); Font aOldPrnFont( ChgPhysFont( pPrinter ) ); -- cgit