summaryrefslogtreecommitdiff
path: root/sw
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
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')
-rw-r--r--sw/source/core/inc/flyfrm.hxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx
index 04c33f659732..0c4c9319b3ed 100644
--- a/sw/source/core/inc/flyfrm.hxx
+++ b/sw/source/core/inc/flyfrm.hxx
@@ -77,7 +77,7 @@ protected:
private:
// It must be possible to block Content-bound flys so that they will be not
// formatted; in this case MakeAll() returns immediately. This is necessary
- // for page changes during formattting. In addition, it is needed during
+ // for page changes during formatting. In addition, it is needed during
// the constructor call of the root object since otherwise the anchor will
// be formatted before the root is anchored correctly to a shell and
// because too much would be formatted as a result.
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 )