[Libreoffice-commits] core.git: 2 commits - include/LibreOfficeKit sc/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue May 21 07:29:27 UTC 2019


 include/LibreOfficeKit/LibreOfficeKitEnums.h   |    2 +-
 sc/source/filter/xml/XMLStylesImportHelper.cxx |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 15d0cc8cb1287f9e6c3f0a67866890eef2d2599c
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon May 20 19:37:24 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue May 21 09:28:30 2019 +0200

    Fix typos
    
    Change-Id: Id37e812b3ebe64543eae2db0de5e31844250c341
    Reviewed-on: https://gerrit.libreoffice.org/72620
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/filter/xml/XMLStylesImportHelper.cxx b/sc/source/filter/xml/XMLStylesImportHelper.cxx
index a216817e51ff..e8c255967c2a 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.cxx
@@ -256,7 +256,7 @@ void ScMyStylesImportHelper::AddDefaultRange(const ScRange& rRange)
         if (aColDefaultStyles.size() > sal::static_int_cast<sal_uInt32>(nStartCol))
         {
             ScMyStylesMap::iterator aPrevItr(aColDefaultStyles[nStartCol]);
-            OSL_ENSURE(aColDefaultStyles.size() > sal::static_int_cast<sal_uInt32>(nEndCol), "to much columns");
+            OSL_ENSURE(aColDefaultStyles.size() > sal::static_int_cast<sal_uInt32>(nEndCol), "too many columns");
             for (SCCOL i = nStartCol + 1; (i <= nEndCol) && (i < sal::static_int_cast<SCCOL>(aColDefaultStyles.size())); ++i)
             {
                 if (aPrevItr != aColDefaultStyles[i])
@@ -285,7 +285,7 @@ void ScMyStylesImportHelper::AddDefaultRange(const ScRange& rRange)
         }
         else
         {
-            OSL_FAIL("too much columns");
+            OSL_FAIL("too many columns");
         }
     }
     else
@@ -348,7 +348,7 @@ void ScMyStylesImportHelper::AddRange(const ScRange& rRange)
             {
                 if (rRange.aEnd.Row() == aPrevRange.aEnd.Row())
                 {
-                    OSL_ENSURE(aPrevRange.aEnd.Col() + 1 == rRange.aStart.Col(), "something wents wrong");
+                    OSL_ENSURE(aPrevRange.aEnd.Col() + 1 == rRange.aStart.Col(), "something went wrong");
                     aPrevRange.aEnd.SetCol(rRange.aEnd.Col());
                 }
                 else
@@ -359,7 +359,7 @@ void ScMyStylesImportHelper::AddRange(const ScRange& rRange)
                 if (rRange.aStart.Col() == aPrevRange.aStart.Col() &&
                     rRange.aEnd.Col() == aPrevRange.aEnd.Col())
                 {
-                    OSL_ENSURE(aPrevRange.aEnd.Row() + 1 == rRange.aStart.Row(), "something wents wrong");
+                    OSL_ENSURE(aPrevRange.aEnd.Row() + 1 == rRange.aStart.Row(), "something went wrong");
                     aPrevRange.aEnd.SetRow(rRange.aEnd.Row());
                 }
                 else
commit 38ac0586448d4f07811b139f62f62686b029feba
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon May 20 19:35:27 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue May 21 09:27:59 2019 +0200

    Fix typo
    
    Change-Id: Ib4e99488025d2eedb08eff3690cbb57d0741f1f1
    Reviewed-on: https://gerrit.libreoffice.org/72621
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index f3fc91b2f71c..6b706a70cd6d 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -164,7 +164,7 @@ typedef enum
     /**
      * The size and/or the position of the graphic selection changed,
      * the rotation angle of the embedded graphic object, and a property list
-     * which can be used for informing the client about severl properties.
+     * which can be used for informing the client about several properties.
      *
      * Format is "x, y, width, height, angle, { list of properties }",
      * where angle is in 100th of degree, and the property list is optional.


More information about the Libreoffice-commits mailing list