summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-05-06 10:05:28 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-05-07 12:45:36 +0200
commitfbd414741157b969924318462ebfcfb5ccf4d3dc (patch)
treeb870499ce98153af72233f67d2322c95d678d590 /sw
parent3d4938d2d8dc18c7b741efe90686f55f524fcfe2 (diff)
Fix typos
To complete commit 076758857a98 Change-Id: I6424109e3aee8a3236e40168bdd98c725a7afafb Reviewed-on: https://gerrit.libreoffice.org/37306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/crsrsh.hxx2
-rw-r--r--sw/source/core/text/widorp.cxx2
-rw-r--r--sw/source/uibase/uiview/pview.cxx4
-rw-r--r--sw/source/uibase/wrtsh/select.cxx4
4 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index e67f91263e37..30d3bff5e60a 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -274,7 +274,7 @@ protected:
inline SwMoveFnCollection const & MakeFindRange( SwDocPositions, SwDocPositions, SwPaM* ) const;
/*
- * Compare-Methode for the StackCursor and the current Cursor.
+ * Compare-Method for the StackCursor and the current Cursor.
* The Methods return -1, 0, 1 for lower, equal, greater.
*/
int CompareCursorStackMkCurrPt() const;
diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx
index b096df735e95..615c430521bd 100644
--- a/sw/source/core/text/widorp.cxx
+++ b/sw/source/core/text/widorp.cxx
@@ -296,7 +296,7 @@ WidowsAndOrphans::WidowsAndOrphans( SwTextFrame *pNewFrame, const SwTwips nRst,
}
/**
- * The Find*-Methodes do not only search, but adjust the SwTextMargin to the
+ * The Find*-Methods do not only search, but adjust the SwTextMargin to the
* line where the paragraph should have a break and truncate the paragraph there.
* FindBreak()
*/
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index 0d31ebe0ef8e..08bc2285c4e3 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1134,7 +1134,7 @@ void SwPagePreview::Init()
// Update the fields
// ATTENTION: Do cast the EditShell up, to use the SS.
- // At the methodes the current shell will be queried!
+ // At the methods the current shell will be queried!
SwEditShell* pESh = dynamic_cast<SwEditShell*>(GetViewShell());
bool bIsModified = pESh != nullptr && pESh->IsModified();
@@ -1354,7 +1354,7 @@ void SwPagePreview::OuterResizePixel( const Point &rOfst, const Size &rSize )
Point aBottomRight( m_pViewWin->PixelToLogic( Point( aTmpSize.Width(), aTmpSize.Height() ) ) );
SetVisArea( tools::Rectangle( Point(), aBottomRight ) );
- // Call of the DocSzChgd-Methode of the scrollbars is necessary,
+ // Call of the DocSzChgd-Method of the scrollbars is necessary,
// because from the maximum scroll range half the height of the
// VisArea is always deducted.
if ( m_pVScrollbar && aTmpSize.Width() > 0 && aTmpSize.Height() > 0 )
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index fee4245c63d4..c133444ccc58 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -299,8 +299,8 @@ void SwWrtShell::PopMode()
m_pModeStack = pTmp;
}
-// Two methodes for setting cursors: the first maps at the
-// eponymous methodes in the CursorShell, the second removes
+// Two methods for setting cursors: the first maps at the
+// eponymous methods in the CursorShell, the second removes
// all selections at first.
long SwWrtShell::SetCursor(const Point *pPt, bool bTextOnly)