[Libreoffice-commits] core.git: starmath/inc starmath/source sw/qa writerfilter/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 22 17:57:25 UTC 2021


 starmath/inc/mathml/attribute.hxx             |    4 ++--
 starmath/inc/mathml/def.hxx                   |    8 ++++----
 starmath/source/mathml/element.cxx            |    2 +-
 sw/qa/extras/ooxmlexport/ooxmlexport6.cxx     |    2 +-
 writerfilter/source/dmapper/GraphicImport.cxx |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit af8eaeeb16991eb0b2804d7570521726f4913196
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Apr 22 10:57:24 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Apr 22 19:56:39 2021 +0200

    Fix typos
    
    Change-Id: Id06dc8750b735ecdba26ac607394c6e7dee16db2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114470
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Reviewed-by: Dante DM <dante19031999 at gmail.com>
    Tested-by: Jenkins

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();
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
index 0a71b2535587..3e60031d6d59 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
@@ -126,7 +126,7 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testDmlTextshapeB, "dml-textshapeB.docx")
     uno::Reference<drawing::XShape> xShape(xGroup->getByIndex(3), uno::UNO_QUERY);
     // Connector was incorrectly shifted towards the top left corner, X was 192, Y was -5743.
     CPPUNIT_ASSERT_EQUAL(sal_Int32(3776), xShape->getPosition().X);
-    // Value as of LO7.2. Whole group is still shifted 3mm to rigth and 5mm down.
+    // Value as of LO7.2. Whole group is still shifted 3mm to right and 5mm down.
     CPPUNIT_ASSERT_EQUAL(sal_Int32(-5063), xShape->getPosition().Y);
 
     xShape.set(xGroup->getByIndex(5), uno::UNO_QUERY);
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 56d274719805..66f36e38959d 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -512,7 +512,7 @@ void GraphicImport::putPropertyToFrameGrabBag( const OUString& sPropertyName, co
 
 static bool lcl_bHasGroupSlantedChild (const SdrObject* pObj)
 {
-    // Returns true, if a child object differs more then 0.02deg from horizontal or vertical.
+    // Returns true, if a child object differs more than 0.02deg from horizontal or vertical.
     // Because lines sometimes are imported as customshapes, a horizontal or vertical line
     // might not have exactly 0, 90, 180, or 270 degree as rotate angle.
     if (!pObj)
@@ -927,7 +927,7 @@ void GraphicImport::lcl_attribute(Id nName, Value& rValue)
                         const awt::Point aCentrum(aImportPosition.X + aImportSize.Width / 2,
                                                   aImportPosition.Y + aImportSize.Height / 2);
 
-                        // In case of group and lines, rotations are incorported in the child shapes or
+                        // In case of group and lines, rotations are incorporated in the child shapes or
                         // points respectively in LO. MSO has rotation as separate property. The
                         // position refers to the unrotated rectangle of MSO. We need to adapt it to
                         // the left-top of the rotated shape.


More information about the Libreoffice-commits mailing list