summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-04-30 00:01:46 +0200
committerBartosz Kosiorek <gang65@poczta.onet.pl>2018-05-02 13:56:21 +0200
commitf66edd357c4572fd69d42c2330f922ec2beaa415 (patch)
tree471d0eea66a9d0f98c3e4962837453baf7d50eaf
parent03a4b6eb58b29c0ab4bb85f756923c46618d02ff (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>
-rw-r--r--filter/source/graphicfilter/idxf/dxfgrprd.hxx6
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/svtools/calendar.hxx2
-rw-r--r--qadevOOo/runner/lib/MultiPropertyTest.java2
-rw-r--r--sc/source/filter/inc/xiformula.hxx2
-rw-r--r--sfx2/source/control/shell.cxx2
-rw-r--r--sw/qa/python/check_index.py12
-rw-r--r--sw/source/core/table/swnewtable.cxx4
8 files changed, 16 insertions, 16 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfgrprd.hxx b/filter/source/graphicfilter/idxf/dxfgrprd.hxx
index 09bbcd3676e4..97a023420e74 100644
--- a/filter/source/graphicfilter/idxf/dxfgrprd.hxx
+++ b/filter/source/graphicfilter/idxf/dxfgrprd.hxx
@@ -47,17 +47,17 @@ public:
long GetI() const;
// Returns the integer value of the group which was read earlier with Read().
// This read must have returned a group code for datatype Integer.
- // If not 0 is returend
+ // If not 0 is returned
double GetF() const;
// Returns the floating point value of the group which was read earlier with Read().
// This read must have returned a group code for datatype Floatingpoint.
- // If not 0 is returend
+ // If not 0 is returned
const OString& GetS() const;
// Returns the string of the group which was read earlier with Read().
// This read must have returned a group code for datatype String.
- // If not NULL is returend
+ // If not NULL is returned
sal_uInt64 remainingSize() const;
private:
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 6f9c67132c7c..a5f0d4b1b1e3 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -248,7 +248,7 @@ public:
void CreateSelectionList (std::vector<Paragraph*> &aSelList) ;
- // Retruns the number of selected paragraphs
+ // Returns the number of selected paragraphs
sal_Int32 Select( Paragraph const * pParagraph, bool bSelect = true);
OUString GetSelected() const;
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 753ecad1f606..7b5ae85a94e9 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -113,7 +113,7 @@ sal_False is a selection to the right or down
--------------------------------------------------------------------------
If the DateRange area changes and we want to take over the selection, we
-should only do this is if IsScrollDateRangeChanged() retruns sal_True.
+should only do this is if IsScrollDateRangeChanged() returns sal_True.
This method returns sal_True if the area change was triggered by using the
ScrollButtons and sal_False if it was triggered by Resize(), other method
calls or by ending a selection.
diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java
index a9e49bed0475..75834fba631c 100644
--- a/qadevOOo/runner/lib/MultiPropertyTest.java
+++ b/qadevOOo/runner/lib/MultiPropertyTest.java
@@ -434,7 +434,7 @@ public class MultiPropertyTest extends MultiMethodTest
/**
* Overridden method of <code>PropertyTester</code> which
- * retruns new value from two values specified.
+ * returns new value from two values specified.
*
* @return The second value if old value is equal to the first
* one, the first value otherwise.
diff --git a/sc/source/filter/inc/xiformula.hxx b/sc/source/filter/inc/xiformula.hxx
index 96968b34e061..a24c008d96fb 100644
--- a/sc/source/filter/inc/xiformula.hxx
+++ b/sc/source/filter/inc/xiformula.hxx
@@ -44,7 +44,7 @@ public:
/**
* Creates a formula token array from the Excel token array. Note that
- * the caller must create a copy of the token array instance returend by
+ * the caller must create a copy of the token array instance returned by
* this function if the caller needs to persistently store the array,
* because the pointer points to an array instance on the stack.
*/
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index c89d162ebe9d..970ca26c3260 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -326,7 +326,7 @@ void SfxShell::DoDeactivate_Impl( SfxViewFrame const *pFrame, bool bMDI )
<< " bMDI " << (bMDI ? "MDI" : ""));
// Only when it comes from a Frame
- // (not when for instance by poping BASIC-IDE from AppDisp)
+ // (not when for instance by popping BASIC-IDE from AppDisp)
if ( bMDI && pImpl->pFrame == pFrame )
{
// deliver
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,