diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-04-30 00:01:46 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2018-05-02 13:56:21 +0200 |
commit | f66edd357c4572fd69d42c2330f922ec2beaa415 (patch) | |
tree | 471d0eea66a9d0f98c3e4962837453baf7d50eaf /sw | |
parent | 03a4b6eb58b29c0ab4bb85f756923c46618d02ff (diff) |
Fix typos
Change-Id: I56477227bafdd7fdb29aa5a5c857cbfda110e395
Reviewed-on: https://gerrit.libreoffice.org/53643
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/python/check_index.py | 12 | ||||
-rw-r--r-- | sw/source/core/table/swnewtable.cxx | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sw/qa/python/check_index.py b/sw/qa/python/check_index.py index b681ff21d061..807f3e319754 100644 --- a/sw/qa/python/check_index.py +++ b/sw/qa/python/check_index.py @@ -23,7 +23,7 @@ class RefreshListener(XRefreshListener, unohelper.Base): def disposing(self, event): self.m_disposed = True - # Gets callled when index is refreshed + # Gets called when index is refreshed def refreshed(self, event): self.m_refreshed = True @@ -63,7 +63,7 @@ class CheckIndex(unittest.TestCase): deleted while the tests """ self.assertFalse(self.listener.m_disposed, - "Unexpected disporue of the Refresh Listener!") + "Unexpected disparue of the Refresh Listener!") self.xIndex.dispose() self.assertTrue(self.listener.m_disposed, "Could not dispose Refresh Listener") @@ -84,7 +84,7 @@ class CheckIndex(unittest.TestCase): def test_index_refresh(self): """ Try to insert a heading at the index, refresh the index and - retrive the heading again + retrieve the heading again """ heading = "The best test heading you have seen in your entire life" self.insert_heading(heading) @@ -97,12 +97,12 @@ class CheckIndex(unittest.TestCase): text = self.xCursor.getString() self.assertGreaterEqual(text.find(heading), 0, "Failed to insert heading at index " - "and retrive it again!") + "and retrieve it again!") def test_index_update(self): """ Try to insert a heading at the index, update the index - and retrive the heading again + and retrieve the heading again """ heading = "Heading to test the index update" self.insert_heading(heading) @@ -115,7 +115,7 @@ class CheckIndex(unittest.TestCase): text = self.xCursor.getString() self.assertGreaterEqual(text.find(heading), 0, "Failed to insert a heading at Index and " - "retrive it again!") + "retrieve it again!") if __name__ == "__main__": diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx index 96702150011b..30a64747182d 100644 --- a/sw/source/core/table/swnewtable.cxx +++ b/sw/source/core/table/swnewtable.cxx @@ -1020,7 +1020,7 @@ void SwTable::FindSuperfluousRows_( SwSelBoxes& rBoxes, } } -/** SwTableBox::FindStartOfRowSpan(..) retruns the "master" cell, the cell which +/** SwTableBox::FindStartOfRowSpan(..) returns the "master" cell, the cell which overlaps the given cell, it maybe the cell itself. */ @@ -1301,7 +1301,7 @@ static void lcl_SophisticatedFillLineIndices( SwLineOffsetArray &rArr, typedef std::set< SwTwips > SwSplitLines; /** lcl_CalculateSplitLineHeights(..) delivers all y-positions where table rows have - to be splitted to fulfill the requested "split same height" + to be split to fulfill the requested "split same height" */ static sal_uInt16 lcl_CalculateSplitLineHeights( SwSplitLines &rCurr, SwSplitLines &rNew, |