summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-04-22 10:57:24 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-04-22 19:56:39 +0200
commitaf8eaeeb16991eb0b2804d7570521726f4913196 (patch)
treec49146dea4b867e15fb2e6efb136dee7ba3eae2d /starmath
parentc799de145f7e289f31e3669646e5bd12814e6c5e (diff)
Fix typos
Change-Id: Id06dc8750b735ecdba26ac607394c6e7dee16db2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114470 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Dante DM <dante19031999@gmail.com> Tested-by: Jenkins
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/mathml/attribute.hxx4
-rw-r--r--starmath/inc/mathml/def.hxx8
-rw-r--r--starmath/source/mathml/element.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/starmath/inc/mathml/attribute.hxx b/starmath/inc/mathml/attribute.hxx
index c30053c9d037..1991e752918a 100644
--- a/starmath/inc/mathml/attribute.hxx
+++ b/starmath/inc/mathml/attribute.hxx
@@ -22,8 +22,8 @@
#include "def.hxx"
/* All possible data needed to do the job outside mathml limits */
-// Ml prefix means it is part of mathml standar
-// NMl means it is not part of mathml standar but needed info to work
+// Ml prefix means it is part of mathml standard
+// NMl means it is not part of mathml standard but needed info to work
/* Union for storing the mathml attribute value */
/*************************************************************************************************/
diff --git a/starmath/inc/mathml/def.hxx b/starmath/inc/mathml/def.hxx
index 6fccf79d6fab..e65598f45b0c 100644
--- a/starmath/inc/mathml/def.hxx
+++ b/starmath/inc/mathml/def.hxx
@@ -22,15 +22,15 @@
#include <tools/color.hxx>
/* All possible data needed to do the job outside mathml limits */
-// Ml prefix means it is part of mathml standar
-// NMl means it is not part of mathml standar but needed info to work
+// Ml prefix means it is part of mathml standard
+// NMl means it is not part of mathml standard but needed info to work
/* For now empty, don't know yet what's needed besides default font size. */
struct SmGlobalData
{
};
-/* Mthml length tools */
+/* Mhtml length tools */
/*************************************************************************************************/
enum class SmLengthUnit : uint_fast8_t
@@ -50,7 +50,7 @@ struct SmLengthValue
{
SmLengthUnit m_aLengthUnit;
double m_aLengthValue;
- // Keeps original text value to avoid numerial error data loss
+ // Keeps original text value to avoid numerical error data loss
OUString* m_aOriginalText;
};
diff --git a/starmath/source/mathml/element.cxx b/starmath/source/mathml/element.cxx
index 32ac040e0f2e..1d5733860e53 100644
--- a/starmath/source/mathml/element.cxx
+++ b/starmath/source/mathml/element.cxx
@@ -106,7 +106,7 @@ void SmMlElement::setSubElement(size_t nPos, SmMlElement* aElement)
{
// This is the new parent element
aElement->setParentElement(this);
- // Check if the vector is long enought
+ // Check if the vector is long enough
// Careful nOldSize can be 0 and -1 will underflow
// We must put something on the empty locations
size_t nOldSize = m_aSubElements.size();