diff options
author | Kemal Ayhan <kemalayhan013@gmail.com> | 2019-12-29 18:34:40 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-12-30 10:36:12 +0100 |
commit | 3a3110564bcda4678fb804d01013e226fd2fbe93 (patch) | |
tree | a92486d89dd1fd15bafde7c88f97a096ccb7b6ce /editeng | |
parent | a8fb4e91a1feb1f4f562d9345636986c1c66a517 (diff) |
tdf#96505 - Get rid of cargo cult long integer literals
Change-Id: Iaf0cfc96771e33493becfad77af9b7f3b7c817d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85950
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 6e50e842d097..58c90a589dcb 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -2922,7 +2922,7 @@ void ImpEditEngine::RecalcFormatterFontMetrics( FormatterFontMetric& rCurMetrics { // Now in consideration of Escape/Propr // possibly enlarge Ascent or Descent - short nDiff = static_cast<short>(rFont.GetFontSize().Height()*rFont.GetEscapement()/100L); + short nDiff = static_cast<short>(rFont.GetFontSize().Height()*rFont.GetEscapement()/100); if ( rFont.GetEscapement() > 0 ) { nAscent = static_cast<sal_uInt16>(static_cast<long>(nAscent)*nPropr/100 + nDiff); |