diff options
author | ekuiitr <jhaekansh80@gmail.com> | 2017-12-04 00:58:09 +0530 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-12-05 16:03:24 +0100 |
commit | c7d3440fed86c7ef986cdaf57dfe2017325ff190 (patch) | |
tree | b172ca6242af8bead89d72ba9a890c784fa774d5 /editeng | |
parent | d915cb417befeb4a2aa1913e4b91d8cc5297c3ec (diff) |
tdf#96505 removed "L" literal
Change-Id: Ie12d65d0a8aaff3ede099e0301cafbc41ebdc2c6
Reviewed-on: https://gerrit.libreoffice.org/45736
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/svxfont.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ) ); |