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: ...@@ -47,17 +47,17 @@ public:
long GetI() const; long GetI() const;
// Returns the integer value of the group which was read earlier with Read(). // Returns the integer value of the group which was read earlier with Read().
// This read must have returned a group code for datatype Integer. // This read must have returned a group code for datatype Integer.
// If not 0 is returend // If not 0 is returned
double GetF() const; double GetF() const;
// Returns the floating point value of the group which was read earlier with Read(). // 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. // 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; const OString& GetS() const;
// Returns the string of the group which was read earlier with Read(). // Returns the string of the group which was read earlier with Read().
// This read must have returned a group code for datatype String. // 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; sal_uInt64 remainingSize() const;
private: private:
......
...@@ -248,7 +248,7 @@ public: ...@@ -248,7 +248,7 @@ public:
void CreateSelectionList (std::vector<Paragraph*> &aSelList) ; 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); sal_Int32 Select( Paragraph const * pParagraph, bool bSelect = true);
OUString GetSelected() const; OUString GetSelected() const;
......
...@@ -113,7 +113,7 @@ sal_False is a selection to the right or down ...@@ -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 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 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 ScrollButtons and sal_False if it was triggered by Resize(), other method
calls or by ending a selection. calls or by ending a selection.
......
...@@ -434,7 +434,7 @@ public class MultiPropertyTest extends MultiMethodTest ...@@ -434,7 +434,7 @@ public class MultiPropertyTest extends MultiMethodTest
/** /**
* Overridden method of <code>PropertyTester</code> which * 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 * @return The second value if old value is equal to the first
* one, the first value otherwise. * one, the first value otherwise.
......
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
/** /**
* Creates a formula token array from the Excel token array. Note that * 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, * this function if the caller needs to persistently store the array,
* because the pointer points to an array instance on the stack. * because the pointer points to an array instance on the stack.
*/ */
......
...@@ -326,7 +326,7 @@ void SfxShell::DoDeactivate_Impl( SfxViewFrame const *pFrame, bool bMDI ) ...@@ -326,7 +326,7 @@ void SfxShell::DoDeactivate_Impl( SfxViewFrame const *pFrame, bool bMDI )
<< " bMDI " << (bMDI ? "MDI" : "")); << " bMDI " << (bMDI ? "MDI" : ""));
// Only when it comes from a Frame // 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 ) if ( bMDI && pImpl->pFrame == pFrame )
{ {
// deliver // deliver
......
...@@ -23,7 +23,7 @@ class RefreshListener(XRefreshListener, unohelper.Base): ...@@ -23,7 +23,7 @@ class RefreshListener(XRefreshListener, unohelper.Base):
def disposing(self, event): def disposing(self, event):
self.m_disposed = True self.m_disposed = True
# Gets callled when index is refreshed # Gets called when index is refreshed
def refreshed(self, event): def refreshed(self, event):
self.m_refreshed = True self.m_refreshed = True
...@@ -63,7 +63,7 @@ class CheckIndex(unittest.TestCase): ...@@ -63,7 +63,7 @@ class CheckIndex(unittest.TestCase):
deleted while the tests deleted while the tests
""" """
self.assertFalse(self.listener.m_disposed, self.assertFalse(self.listener.m_disposed,
"Unexpected disporue of the Refresh Listener!") "Unexpected disparue of the Refresh Listener!")
self.xIndex.dispose() self.xIndex.dispose()
self.assertTrue(self.listener.m_disposed, self.assertTrue(self.listener.m_disposed,
"Could not dispose Refresh Listener") "Could not dispose Refresh Listener")
...@@ -84,7 +84,7 @@ class CheckIndex(unittest.TestCase): ...@@ -84,7 +84,7 @@ class CheckIndex(unittest.TestCase):
def test_index_refresh(self): def test_index_refresh(self):
""" """
Try to insert a heading at the index, refresh the index and 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" heading = "The best test heading you have seen in your entire life"
self.insert_heading(heading) self.insert_heading(heading)
...@@ -97,12 +97,12 @@ class CheckIndex(unittest.TestCase): ...@@ -97,12 +97,12 @@ class CheckIndex(unittest.TestCase):
text = self.xCursor.getString() text = self.xCursor.getString()
self.assertGreaterEqual(text.find(heading), 0, self.assertGreaterEqual(text.find(heading), 0,
"Failed to insert heading at index " "Failed to insert heading at index "
"and retrive it again!") "and retrieve it again!")
def test_index_update(self): def test_index_update(self):
""" """
Try to insert a heading at the index, update the index 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" heading = "Heading to test the index update"
self.insert_heading(heading) self.insert_heading(heading)
...@@ -115,7 +115,7 @@ class CheckIndex(unittest.TestCase): ...@@ -115,7 +115,7 @@ class CheckIndex(unittest.TestCase):
text = self.xCursor.getString() text = self.xCursor.getString()
self.assertGreaterEqual(text.find(heading), 0, self.assertGreaterEqual(text.find(heading), 0,
"Failed to insert a heading at Index and " "Failed to insert a heading at Index and "
"retrive it again!") "retrieve it again!")
if __name__ == "__main__": if __name__ == "__main__":
......
...@@ -1020,7 +1020,7 @@ void SwTable::FindSuperfluousRows_( SwSelBoxes& rBoxes, ...@@ -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. overlaps the given cell, it maybe the cell itself.
*/ */
...@@ -1301,7 +1301,7 @@ static void lcl_SophisticatedFillLineIndices( SwLineOffsetArray &rArr, ...@@ -1301,7 +1301,7 @@ static void lcl_SophisticatedFillLineIndices( SwLineOffsetArray &rArr,
typedef std::set< SwTwips > SwSplitLines; typedef std::set< SwTwips > SwSplitLines;
/** lcl_CalculateSplitLineHeights(..) delivers all y-positions where table rows have /** 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, 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