diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-11-08 09:43:14 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-11-08 11:22:00 +0100 |
commit | 20d125ce61561a2ab54a99d77112d83293820e70 (patch) | |
tree | ea7e39bf2a4c3bb02a5e8bc010ea73c0cd30eb21 /starmath | |
parent | c784b3da15102caf1022e83371863a86766e69cd (diff) |
Fix typos
Change-Id: I79d8cd8f66ee83c2af42a828596e852248d51138
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105439
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/node.hxx | 16 | ||||
-rw-r--r-- | starmath/inc/token.hxx | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index a1dbe90305f3..3bdb6bac6c9c 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -29,9 +29,9 @@ * SmTableNode binom * SmLineNode A line * SmExpressionNode { content } - * SmUnHorNode unary opperators +-; -+; +x; -x; ... + * SmUnHorNode unary operators +-; -+; +x; -x; ... * SmRootNode Root structure - * SmBinHorNode bynary opperators A + B + * SmBinHorNode binary operators A + B * SmBinVerNode over; frac; ... * SmBinDiagonalNode wideslash * SmSubSupNode csub, csup, lsub, from, to, ... @@ -40,7 +40,7 @@ * SmVerticalBraceNode overbrace; underbrace; * SmOperNode sum from to; int from to; * SmAlignNode text alignment - * SmAttributNode font attributtes; bold; + * SmAttributNode font attributes; bold; * SmFontNode font serif; ... * SmMatrixNode matrix * SmVisibleNode drawable node @@ -55,7 +55,7 @@ * SmMathIdentifierNode variable * SmRootSymbolNode root symbol * SmPlaceNode <?> - * SmErrorNode red ? for errores + * SmErrorNode red ? for errors * */ @@ -1369,15 +1369,15 @@ public: SmNode* Symbol() { assert( GetNumSubNodes() == 3 ); return GetSubNode( 1 ); } /** - * Returns the node containing the data of the left opperand. - * @return left opperand data + * Returns the node containing the data of the left operand. + * @return left operand data */ const SmNode* LeftOperand() const { return const_cast<SmBinHorNode *>(this)->LeftOperand(); } SmNode* LeftOperand() { assert( GetNumSubNodes() == 3 ); return GetSubNode( 0 ); } /** - * Returns the node containing the data of the right opperand. - * @return right opperand data + * Returns the node containing the data of the right operand. + * @return right operand data */ const SmNode* RightOperand() const { return const_cast<SmBinHorNode *>(this)->RightOperand(); } SmNode* RightOperand() { assert( GetNumSubNodes() == 3 ); return GetSubNode( 2 ); } diff --git a/starmath/inc/token.hxx b/starmath/inc/token.hxx index 353c26275bab..caae616e475a 100644 --- a/starmath/inc/token.hxx +++ b/starmath/inc/token.hxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - /** The tokens cointain the information gathered by the parser. + /** The tokens contain the information gathered by the parser. * * They contain: * the data type (~ mathematical operation). |