Kaydet (Commit) c7d3440f authored tarafından ekuiitr's avatar ekuiitr Kaydeden (comit) Mike Kaganski

tdf#96505 removed "L" literal

Change-Id: Ie12d65d0a8aaff3ede099e0301cafbc41ebdc2c6
Reviewed-on: https://gerrit.libreoffice.org/45736Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst d915cb41
......@@ -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 ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment