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>
This commit is contained in:
Andrea Gelmini 2018-04-30 00:01:46 +02:00 committed by Bartosz Kosiorek
parent 03a4b6eb58
commit f66edd357c
8 changed files with 16 additions and 16 deletions

View file

@ -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:

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.
*/

View file

@ -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

View file

@ -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__":

View file

@ -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,