[Libreoffice-commits] core.git: hardened_runtime.xcent.in lo.xcent starmath/source sw/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 16 21:35:22 UTC 2021


 hardened_runtime.xcent.in              |    2 +-
 lo.xcent                               |    2 +-
 starmath/source/mathml/export.cxx      |    6 +++---
 sw/source/filter/ww8/docxsdrexport.cxx |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit dd3ab0fd737ff84657ff34eebafe2628f489e5a1
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 16 18:22:58 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 16 23:34:24 2021 +0200

    Fix typos
    
    Change-Id: I2a0a3d8eff5e6f1d456128f71519d132b8839e28
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120481
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/hardened_runtime.xcent.in b/hardened_runtime.xcent.in
index cbaba171ad19..74318ba0efe8 100644
--- a/hardened_runtime.xcent.in
+++ b/hardened_runtime.xcent.in
@@ -15,7 +15,7 @@
         <!-- allow use of third-party plugins/frameworks (aka Java) -->
         <key>com.apple.security.cs.disable-library-validation</key>
         <true/>
-        <!-- Allow Base to import data from Adddress Book -->
+        <!-- Allow Base to import data from Address Book -->
         <key>com.apple.security.personal-information.addressbook</key>
         <true/>
         @GET_TASK_ALLOW_ENTITLEMENT@
diff --git a/lo.xcent b/lo.xcent
index 8ed137c9d7c4..56bb981916fe 100644
--- a/lo.xcent
+++ b/lo.xcent
@@ -22,7 +22,7 @@
 	<true/>
         <key>com.apple.security.cs.disable-executable-page-protection</key>
         <true/>
-    <!-- Allow Base to import data from Adddress Book -->
+    <!-- Allow Base to import data from Address Book -->
     <key>com.apple.security.personal-information.addressbook</key>
     <true/>
 </dict>
diff --git a/starmath/source/mathml/export.cxx b/starmath/source/mathml/export.cxx
index dc8458aaafd2..e701f017d7e9 100644
--- a/starmath/source/mathml/export.cxx
+++ b/starmath/source/mathml/export.cxx
@@ -409,7 +409,7 @@ SmMlExportWrapper::WriteThroughComponentMS(const Reference<XComponent>& xCompone
     bool bOk = WriteThroughComponentOS(xStream, xComponent, rxContext, rPropSet,
                                        u"com.sun.star.comp.Math.XMLContentExporter");
 
-    // We don't want to read unitzialized data
+    // We don't want to read uninitialized data
     if (!bOk)
         return u"";
 
@@ -500,7 +500,7 @@ ErrCode SmMlExport::exportDoc(enum XMLTokenEnum eClass)
         return ERRCODE_NONE;
     }
 
-    /* Needs comented for now or clang complains
+    /* Needs to be commented out for now otherwise clang complains
         // Checks if it has to export a particular tree
         if (m_pElementTree == nullptr)
         {
@@ -519,7 +519,7 @@ ErrCode SmMlExport::exportDoc(enum XMLTokenEnum eClass)
         }
         */
 
-    // Start document amd encript if necessary
+    // Start document and encrypt if necessary
     GetDocHandler()->startDocument();
     addChaffWhenEncryptedStorage();
 
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 8d4a7c54e86b..1e1ac6bd66c3 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -307,7 +307,7 @@ tools::Polygon lcl_CreateContourPolygon(SdrObject* pSdrObj)
         {
             // EnhancedCustomShapeEngine::GetLineGeometry() is not directly usable, because the wrap
             // polygon acts on the untransformed shape in Word. We do here similar as in
-            // GetLineGreometry(), but without transformations.
+            // GetLineGeometry(), but without transformations.
             EnhancedCustomShape2d aCustomShape2d(*static_cast<SdrObjCustomShape*>(pSdrObj));
             SdrObjectUniquePtr pLineGeometryObj = aCustomShape2d.CreateLineGeometry();
             if (!pLineGeometryObj)
@@ -352,7 +352,7 @@ tools::Polygon lcl_CreateContourPolygon(SdrObject* pSdrObj)
             // flipped coordinates. In such cases the wrap polygon needs to contain flipped
             // coordinates too. That is missing here.
 
-            // "moon" and "msp-spt89" (up-right-arrow) are currently mirrowed horizontal. But
+            // "moon" and "msp-spt89" (up-right-arrow) are currently mirrored horizontally. But
             // that is removed on export in shapes.cxx. So need to remove it in wrap polygon too.
             uno::Reference<drawing::XShape> xShape(pSdrObj->getUnoShape(), uno::UNO_QUERY);
             uno::Reference<beans::XPropertySet> xProps(xShape, uno::UNO_QUERY);


More information about the Libreoffice-commits mailing list