Kaydet (Commit) f66edd35 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Bartosz Kosiorek

Fix typos

Change-Id: I56477227bafdd7fdb29aa5a5c857cbfda110e395
Reviewed-on: https://gerrit.libreoffice.org/53643Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarBartosz Kosiorek <gang65@poczta.onet.pl>
üst 03a4b6eb
......@@ -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:
......
......@@ -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;
......
......@@ -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.
......
......@@ -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.
......
......@@ -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.
*/
......
......@@ -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
......
......@@ -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__":
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment