diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:53 -0400 |
commit | d955148381be3496b091fab7c2335d080634d376 (patch) | |
tree | fed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /starmath | |
parent | 1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff) |
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
(cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067)
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/cursor.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/node.hxx | 2 | ||||
-rw-r--r-- | starmath/source/document.cxx | 4 | ||||
-rw-r--r-- | starmath/source/mathmlexport.cxx | 2 | ||||
-rw-r--r-- | starmath/source/node.cxx | 4 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 4 | ||||
-rw-r--r-- | starmath/source/view.cxx | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx index 9de6b5309d57..cde542353d38 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -328,7 +328,7 @@ private: /** Patch a line list after modification, merge SmTextNode, remove SmPlaceNode etc. * * @param pLineList The line list to patch - * @param aIter Iterator pointing to the element that needs to be patched with it's previous. + * @param aIter Iterator pointing to the element that needs to be patched with its previous. * * When the list is patched text nodes before and after aIter will be merged. * If there's an, in the context, inappropriate SmPlaceNode before or after aIter it will also be diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index 28becba19c89..41ff14cfa334 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -510,7 +510,7 @@ public: * * This node is used with commands: oper, uoper and boper. * E.g. in "A boper op B", "op" will be an instance of SmGlyphSpecialNode. - * "boper" simply inteprets "op", the following token, as an binary operator. + * "boper" simply interprets "op", the following token, as an binary operator. * The command "uoper" interprets the following token as unary operator. * For these commands an instance of SmGlyphSpecialNode is used for the * operator token, following the command. diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 9e2a745c46ef..a5c92ed42780 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -511,7 +511,7 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell ) { // if it is an embedded object (without it's own printer) // we change the MapMode temporarily. - //!If it is a document with it's own printer the MapMode should + //!If it is a document with its own printer the MapMode should //!be set correct (once) elsewhere(!), in order to avoid numerous //!superfluous pushing and poping of the MapMode when using //!this class. @@ -536,7 +536,7 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell ) { // if it is an embedded object (without it's own printer) // we change the MapMode temporarily. - //!If it is a document with it's own printer the MapMode should + //!If it is a document with its own printer the MapMode should //!be set correct (once) elsewhere(!), in order to avoid numerous //!superfluous pushing and poping of the MapMode when using //!this class. diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index 2492d26d916a..83f6b2996c5b 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -734,7 +734,7 @@ void SmXMLExport::ExportTable(const SmNode *pNode, int nLevel) sal_uInt16 nSize = pNode->GetNumSubNodes(); //If the list ends in newline then the last entry has - //no subnodes, the newline is superfulous so we just drop + //no subnodes, the newline is superfluous so we just drop //the last node, inclusion would create a bad MathML //table if (nSize >= 1) diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 27409a9c7f37..2565f7dbd4a7 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2372,7 +2372,7 @@ void SmTextNode::CreateTextFromNode(OUString &rText) if ((GetToken().eType == TIDENT) && (GetFontDesc() == FNT_FUNCTION)) { - //Search for existing functions and remove extraenous keyword + //Search for existing functions and remove extraneous keyword rText += "func "; } else if (bQuoted) @@ -2505,7 +2505,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) } } - // norm distance from which the following two are calcutated + // norm distance from which the following two are calculated const long nNormDist = 3 * GetFont().GetSize().Height(); // define horizontal and vertical minimal distances that separate diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 024dd8cf05f1..714e7045d7fa 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1410,7 +1410,7 @@ void SmParser::DoTerm(bool bGroupNumberIdent) if (m_aCurToken.eType != TNUMBER && m_aCurToken.eType != TIDENT) { - // Neither a number nor an indentifier. We just moved to + // Neither a number nor an identifier. We just moved to // the next token, so no need to do that again. moveToNextToken = false; break; @@ -1733,7 +1733,7 @@ void SmParser::DoUnOper() pSNode->SetScaleMode(SCALE_HEIGHT); // build nodes for left & right lines - // (text, group, level of the used token are of no interrest here) + // (text, group, level of the used token are of no interest here) // we'll use row & column of the keyword for abs aNodeToken.eType = TABS; diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index a4e8c39ebb48..e084ddf821ac 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -354,7 +354,7 @@ void SmGraphicWindow::SetCursor(const Rectangle &rRect) } const SmNode * SmGraphicWindow::SetCursorPos(sal_uInt16 nRow, sal_uInt16 nCol) - // looks for a VISIBLE node in the formula tree with it's token at + // looks for a VISIBLE node in the formula tree with its token at // (or around) the position 'nRow', 'nCol' in the edit window // (row and column numbering starts with 1 there!). // If there is such a node the formula-cursor is set to cover that nodes |