diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /starmath | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
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 6962cf5d89c3..761415fb99d0 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -329,7 +329,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 c526d96dcdbe..cf6e47212371 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -528,7 +528,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 9657bf6b89d4..f1c799b5f7ba 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -513,7 +513,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. @@ -538,7 +538,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 a6cd4e88330a..518db5659e03 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2373,7 +2373,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) @@ -2506,7 +2506,7 @@ void SmMatrixNode::Arrange(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 dded5750985d..33499be9186e 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1414,7 +1414,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; @@ -1737,7 +1737,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 ebcf144ed79e..a808a6868a5f 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 |