[Libreoffice-commits] core.git: starmath/inc wizards/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Nov 8 10:22:38 UTC 2020
starmath/inc/node.hxx | 16 ++++++++--------
starmath/inc/token.hxx | 2 +-
wizards/source/scriptforge/SF_Array.xba | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
New commits:
commit 20d125ce61561a2ab54a99d77112d83293820e70
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Nov 8 09:43:14 2020 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Nov 8 11:22:00 2020 +0100
Fix typos
Change-Id: I79d8cd8f66ee83c2af42a828596e852248d51138
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105439
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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).
diff --git a/wizards/source/scriptforge/SF_Array.xba b/wizards/source/scriptforge/SF_Array.xba
index 8ffc64127a0f..e219a792e134 100644
--- a/wizards/source/scriptforge/SF_Array.xba
+++ b/wizards/source/scriptforge/SF_Array.xba
@@ -879,7 +879,7 @@ Try:
' Check type and copy all items of the line
For i = 0 To lCol
If Left(vLine(i), 1) = """" Then sItem = SF_String.Unquote(vLine(i)) Else sItem = vLine(i) ' Unquote only when useful
- ' Interprete the individual line item
+ ' Interpret the individual line item
Select Case True
Case IsNumeric(sItem)
If InStr(sItem, ".") + InStr(1, sItem, "e", 1) > 0 Then vItem = Val(sItem) Else vItem = CLng(sItem)
More information about the Libreoffice-commits
mailing list