diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/fntcache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |