summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-11-19 00:12:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-11-19 08:33:09 +0100
commit2f049ebdb343eeb377720e27463c1975a83a1985 (patch)
tree75be122785f8ac7762ed205beafec4adec9d8bd3 /sw
parent67408174f82b42ecf55c7ea0a4348aabf73a51f3 (diff)
Fix typos
Change-Id: I0c966f517e337caa340526b48fa62b9910ce0a3e Reviewed-on: https://gerrit.libreoffice.org/63504 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/crsrsh.cxx2
-rw-r--r--sw/source/core/undo/untbl.cxx2
-rw-r--r--sw/source/uibase/inc/swruler.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 84e6ab9f62b4..7c59d0d70751 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -2678,7 +2678,7 @@ void SwCursorShell::ParkPams( SwPaM* pDelRg, SwShellCursor** ppDelRing )
const SwPosition *pTmpStt = pTmp->Start(),
*pTmpEnd = pTmp->GetPoint() == pTmpStt ?
pTmp->GetMark() : pTmp->GetPoint();
- // If a SPoint or GetMark are in a cursor area than cancel the old area.
+ // If a SPoint or GetMark are in a cursor area then cancel the old area.
// During comparison keep in mind that End() is outside the area.
if( *pStt <= *pTmpStt )
{
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index bced4f3fa38c..95ad7f2a6397 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -2451,7 +2451,7 @@ void SwUndoTableCpyTable::UndoImpl(::sw::UndoRedoContext & rContext)
{
// The old content was not empty or he has been merged with the new content
bDeleteCompleteParagraph = !pEntry->bJoin; // bJoin is set when merged
- // Set aTmpIdx to the beginning fo the old content
+ // Set aTmpIdx to the beginning of the old content
SwNodeIndex aTmpIdx( *pEndNode,
pUndoRedlineDelete->NodeDiff()-1 );
SwTextNode *pText = aTmpIdx.GetNode().GetTextNode();
diff --git a/sw/source/uibase/inc/swruler.hxx b/sw/source/uibase/inc/swruler.hxx
index e5a94ad1de6d..59e115d21ec1 100644
--- a/sw/source/uibase/inc/swruler.hxx
+++ b/sw/source/uibase/inc/swruler.hxx
@@ -18,7 +18,7 @@ namespace vcl { class Window; }
class SwEditWin;
/**
- * An horizontal ruler with a control for comment panel visibility fo Writer.
+ * An horizontal ruler with a control for comment panel visibility for Writer.
*
* The comment control only appears when the document has comments already.
*/