[Libreoffice-commits] core.git: framework/qa oox/source sc/qa sw/qa xmloff/source xmlsecurity/source

Andrea Gelmini andrea.gelmini at gelma.net
Fri Jul 21 13:49:13 UTC 2017


 framework/qa/complex/path_substitution/PathSubstitutionTest.java |    2 +-
 oox/source/drawingml/diagram/diagramlayoutatoms.cxx              |    2 +-
 sc/qa/unit/subsequent_export-test.cxx                            |    4 ++--
 sw/qa/extras/odfimport/odfimport.cxx                             |    2 +-
 sw/qa/extras/ooxmlimport/ooxmlimport.cxx                         |    2 +-
 xmloff/source/core/nmspmap.cxx                                   |    4 ++--
 xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx                     |    2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 0ebd75c5acc24568b0a792a81a3454e81faa5abb
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Jul 21 13:44:56 2017 +0200

    Fix typos
    
    Change-Id: I43f38b4dda6b1999d84d9f9760d0fae4c0358394
    Reviewed-on: https://gerrit.libreoffice.org/40277
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/framework/qa/complex/path_substitution/PathSubstitutionTest.java b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
index abf83cdce99b..69c952d9d58d 100644
--- a/framework/qa/complex/path_substitution/PathSubstitutionTest.java
+++ b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
@@ -68,7 +68,7 @@ public class PathSubstitutionTest
     {
         XMultiServiceFactory xMSF = getMSF();
         System.out.println("---- Testing the XStringSubstitution interface ----");
-        System.out.println("Create intance of test object.\n");
+        System.out.println("Create instance of test object.\n");
         XStringSubstitution oObj = null;
         try
         {
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
index fef4ad22e44a..80f99673243b 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
@@ -210,7 +210,7 @@ void AlgAtom::layoutShape( const ShapePtr& rShape,
 
         case XML_lin:
         {
-            // spread childres evenly across one axis, strech across second
+            // spread children evenly across one axis, stretch across second
 
             if (rShape->getChildren().empty() || rShape->getSize().Width == 0 || rShape->getSize().Height == 0)
                 break;
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index b8a0cfd8a378..5a6610c72f60 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -677,7 +677,7 @@ void ScExportTest::testXfDefaultValuesXLSX()
 void ScExportTest::testColumnWidthResaveXLSX()
 {
     // tdf#91475 FILESAVE: Column width is not preserved in XLSX / after round trip.
-    // Test if after resave .xlsx file, columns width is identical with with previous one
+    // Test if after resave .xlsx file, columns width is identical with previous one
     ScDocShellRef xShell = loadDoc("different-column-width-excel2010.", FORMAT_XLSX);
     CPPUNIT_ASSERT(xShell.is());
 
@@ -716,7 +716,7 @@ void ScExportTest::testColumnWidthExportFromODStoXLSX()
 {
     // tdf#91475 FILESAVE: Column width is not preserved in XLSX / after round trip.
     // Test if after export .ods to .xlsx format, displayed columns width
-    // is identical with with previous (.ods) one
+    // is identical with previous (.ods) one
 
     ScDocShellRef xShell = loadDoc("different-column-width.", FORMAT_ODS);
 
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index 10ea634df9d2..edcdd5deb6f9 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -840,7 +840,7 @@ DECLARE_ODFIMPORT_TEST(testTdf109080_style_ns, "tdf109080_style_ns.odt")
 
 DECLARE_ODFIMPORT_TEST(testTdf109228, "tdf109228.odt")
 {
-    //  Embedded object with no frame name was imported incorrectly, it was achored 'to character' instead of 'as character'
+    //  Embedded object with no frame name was imported incorrectly, it was anchored 'to character' instead of 'as character'
     CPPUNIT_ASSERT_EQUAL(text::TextContentAnchorType_AS_CHARACTER, getProperty<text::TextContentAnchorType>(getShape(1), "AnchorType"));
 }
 
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 384e0e09a053..6d1b831b8ddb 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -1399,7 +1399,7 @@ DECLARE_OOXMLIMPORT_TEST(testTdf109053, "tdf109053.docx")
 
 DECLARE_OOXMLIMPORT_TEST(testTdf108849, "tdf108849.docx")
 {
-    // sectPr element that is child element of body must be the last child. Hovewer, Word accepts it
+    // sectPr element that is child element of body must be the last child. However, Word accepts it
     // in wrong places, and we should do the same (bug-to-bug compatibility) without creating extra sections.
     CPPUNIT_ASSERT_EQUAL(2, getParagraphs());
     CPPUNIT_ASSERT_EQUAL_MESSAGE("Misplaced body-level sectPr's create extra sections!", 2, getPages());
diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index e20363ee67ab..7d45c524d5f5 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -30,8 +30,8 @@
 
 using namespace ::xmloff::token;
 
-/* The basic idea of this class is that we have two two ways to search our
- * data...by prefix and by key. We use an unordered_map for fast prefix
+/* The basic idea of this class is that we have two ways to search our
+ * data, by prefix and by key. We use an unordered_map for fast prefix
  * searching and an STL map for fast key searching.
  *
  * The references to an 'Index' refer to an earlier implementation of the
diff --git a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
index bcaefa671dfc..e139241da8de 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
@@ -111,7 +111,7 @@ xmlSecMSCryptoAppliedKeysMngrCreate(
     }
 
     /*-
-     * Set certificate databse to X509 key data store
+     * Set certificate database to X509 key data store
      */
     /*-
      * At present, MS Crypto engine do not provide a way to setup a cert store.


More information about the Libreoffice-commits mailing list