sw/source/core/txtnode/fntcache.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1fa575f8fe7cad404f29ddd26dd834019c3acd93 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Apr 18 08:41:23 2017 +0200 loplugin:redundantcast (clang-cl) Change-Id: I996ec829794a0a78ad986cb1c87d6deb9f9d75cb diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index db095f14aa49..44518377975f 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -524,11 +524,11 @@ void SwFntObj::GuessLeading( const SwViewShell& { // If the Leading on the Window is also 0, then it has to stay // that way (see also StarMath). - long nTmpLeading = (long)aWinMet.GetInternalLeading(); + long nTmpLeading = aWinMet.GetInternalLeading(); if( nTmpLeading <= 0 ) { pWin->SetFont( rMet ); - nTmpLeading = (long)pWin->GetFontMetric().GetInternalLeading(); + nTmpLeading = pWin->GetFontMetric().GetInternalLeading(); if( nTmpLeading < 0 ) m_nGuessedLeading = 0; else _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits