summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/fntcache.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-05-22 16:00:23 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-05-22 21:02:51 +0200
commitba9b525ec1ecbe3e4972a46766930253504becfb (patch)
treebc88af81f5d1876c07a9ecb1f83db7f86f9b9f53 /sw/source/core/txtnode/fntcache.cxx
parente1544f8785af4b78fa2b96854e3bc2d8f26c6241 (diff)
Fix typos
Change-Id: I5ad14286712e27e8d15174c9ed420bf93367d041 Reviewed-on: https://gerrit.libreoffice.org/54579 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/txtnode/fntcache.cxx')
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 9aab72c50ddf..c0b0587f036d 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -543,7 +543,7 @@ void SwFntObj::GuessLeading( const SwViewShell&
// (above original comment preserved for cultural reasons)
// Those who lie about their Leading, may lie about their
// Ascent/Descent as well, hence the Font will be lowered a
- // litte without changing its height.
+ // little without changing its height.
long nDiff = std::min( rMet.GetDescent() - aWinMet.GetDescent(),
aWinMet.GetAscent() - rMet.GetAscent() - nTmpLeading );
if( nDiff > 0 )