summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2017-12-11 19:14:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-12-11 22:51:01 +0100
commit7d202623b007979d9d0f93f6cd62c3c031d6d1d4 (patch)
tree128cea74baff83fb24b3d65dc2a54c2d749c3572 /sw/source
parent4094f9baf62a426b24f497c86d6a96ccfcb22ad1 (diff)
Fix typos and grammar
Change-Id: I4143da3c5a809118d57849664f6ab1d2e775837f Reviewed-on: https://gerrit.libreoffice.org/46253 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/docnode/nodes.cxx2
-rw-r--r--sw/source/core/docnode/swbaslnk.cxx2
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index 4fb732b02da1..79c8076c11b1 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -1250,7 +1250,7 @@ sal_uInt16 SwNodes::GetSectionLevel(const SwNodeIndex &rIdx)
{
// special treatment for 1st Node
if(rIdx == 0) return 1;
- // no recursion! This calles a SwNode::GetSectionLevel (missing "s")
+ // no recursion! This calls a SwNode::GetSectionLevel (missing "s")
return rIdx.GetNode().GetSectionLevel();
}
diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx
index 8320b6306373..fb86b9aa3455 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -60,7 +60,7 @@ static bool SetGrfFlySize( const Size& rGrfSz, SwGrfNode* pGrfNd, const Size &rO
static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
{
- //call fist all not SwNoTextFrames, then the SwNoTextFrames.
+ //call first all not SwNoTextFrames, then the SwNoTextFrames.
// The reason is, that in the SwNoTextFrames the Graphic
// after a Paint will be swapped out! So all other "behind"
// them haven't a loaded Graphic.
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 1532dd99f61e..be7264c424e0 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -1601,7 +1601,7 @@ SwTwips SwFrame::AdjustNeighbourhood( SwTwips nDiff, bool bTst )
}
else
{
- //The page can shrink to 0. The fist page keeps the same size like
+ //The page can shrink to 0. The first page keeps the same size like
//VisArea.
nChg = nDiff;
long nInvaAdd = 0;