[Libreoffice-commits] core.git: comphelper/source drawinglayer/source embeddedobj/source extensions/source filter/source framework/source include/basic

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 10 09:58:48 UTC 2019


 comphelper/source/misc/numberedcollection.cxx              |    2 +-
 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |    2 +-
 embeddedobj/source/commonembedding/embedobj.cxx            |    2 +-
 extensions/source/propctrlr/cellbindinghelper.hxx          |    2 +-
 filter/source/xslt/common/math.xsl                         |    6 +++---
 filter/source/xsltfilter/OleHandler.cxx                    |    2 +-
 filter/source/xsltfilter/XSLTFilter.cxx                    |    4 ++--
 framework/source/helper/ocomponentenumeration.cxx          |    2 +-
 include/basic/basmgr.hxx                                   |    2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 17f9aa97f8753b895db30e8080481f5f6d696b82
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Sep 10 10:37:56 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 10 11:58:13 2019 +0200

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

diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx
index 81533aa7b249..20c1b7cf8754 100644
--- a/comphelper/source/misc/numberedcollection.cxx
+++ b/comphelper/source/misc/numberedcollection.cxx
@@ -187,7 +187,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix()
     ::sal_Int32                  c = static_cast<::sal_Int32>(m_lComponents.size ());
     ::sal_Int32                  i = 1;
 
-    // c can't be less then 0 ... otherwise hash.size() has an error :-)
+    // c can't be less than 0 ... otherwise hash.size() has an error :-)
     // But we need at least n+1 numbers here.
     c += 1;
 
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 4c6c595d9349..05e373ebbc26 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -76,7 +76,7 @@
 using namespace com::sun::star;
 
 // #112245# definition for maximum allowed point count due to Metafile target.
-// To be on the safe side with the old tools polygon, use slightly less then
+// To be on the safe side with the old tools polygon, use slightly less than
 // the theoretical maximum (bad experiences with tools polygon)
 
 #define MAX_POLYGON_POINT_COUNT_METAFILE    (0x0000fff0)
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx
index 3370c273dc6a..16762c9dce85 100644
--- a/embeddedobj/source/commonembedding/embedobj.cxx
+++ b/embeddedobj/source/commonembedding/embedobj.cxx
@@ -59,7 +59,7 @@ awt::Rectangle GetRectangleInterception( const awt::Rectangle& aRect1, const awt
     awt::Rectangle aResult;
 
     OSL_ENSURE( aRect1.Width >= 0 && aRect2.Width >= 0 && aRect1.Height >= 0 && aRect2.Height >= 0,
-                "Offset must not be less then zero!" );
+                "Offset must not be less than zero!" );
 
     aResult.X = std::max(aRect1.X, aRect2.X);
     aResult.Y = std::max(aRect1.Y, aRect2.Y);
diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx
index 2523b1f7e23e..30e70c34272e 100644
--- a/extensions/source/propctrlr/cellbindinghelper.hxx
+++ b/extensions/source/propctrlr/cellbindinghelper.hxx
@@ -214,7 +214,7 @@ namespace pcr
         */
         bool            isSpreadsheetDocumentWhichSupplies( const OUString& _rService ) const;
 
-        /** checks whether a given component supports a given servive
+        /** checks whether a given component supports a given service
         */
         static bool     doesComponentSupport(
                             const css::uno::Reference< css::uno::XInterface >& _rxComponent,
diff --git a/filter/source/xslt/common/math.xsl b/filter/source/xslt/common/math.xsl
index 95d4c9c7d00e..6b0dafc1f5c2 100644
--- a/filter/source/xslt/common/math.xsl
+++ b/filter/source/xslt/common/math.xsl
@@ -206,7 +206,7 @@ Public Functions
         </xsl:variable>
         <xsl:choose>
             <xsl:when test="$abs-x  >  1">
-                <xsl:message>acos error : abs(<xsl:value-of select="$x"/>) greater then 1 !</xsl:message>
+                <xsl:message>acos error : abs(<xsl:value-of select="$x"/>) greater than 1 !</xsl:message>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:call-template name="atan2">
@@ -231,7 +231,7 @@ Public Functions
         </xsl:variable>
         <xsl:choose>
             <xsl:when test="$abs-x  >  1">
-                <xsl:message>asin error : abs(<xsl:value-of select="$x"/>) greater then 1 !</xsl:message>
+                <xsl:message>asin error : abs(<xsl:value-of select="$x"/>) greater than 1 !</xsl:message>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:call-template name="atan2">
@@ -307,7 +307,7 @@ Public Functions
         <xsl:choose>
             <xsl:when test="$x = 0">0</xsl:when>
             <xsl:when test="$x < 0">
-                <xsl:message>sqrt error : <xsl:value-of select="$x"/>  less then 0!</xsl:message>
+                <xsl:message>sqrt error : <xsl:value-of select="$x"/>  less than 0!</xsl:message>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:call-template name="sqrt-private">
diff --git a/filter/source/xsltfilter/OleHandler.cxx b/filter/source/xsltfilter/OleHandler.cxx
index 91a81b428c6f..265321ec9f8e 100644
--- a/filter/source/xsltfilter/OleHandler.cxx
+++ b/filter/source/xsltfilter/OleHandler.cxx
@@ -127,7 +127,7 @@ namespace XSLT
             return "invalid oleLength";
         }
         Sequence<sal_Int8> content(oleLength);
-        //Read all bytes. The compressed length should less then the uncompressed length
+        //Read all bytes. The compressed length should be less than the uncompressed length
         readbytes = subStream->readBytes(content, oleLength);
         if (oleLength < readbytes)
         {
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 354124c0a10d..340414598e9c 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -329,7 +329,7 @@ namespace XSLT
                         if (xSeek.is())
                             xSeek->seek(0);
 
-                        // we want to be notfied when the processing is done...
+                        // we want to be notified when the processing is done...
                         m_tcontrol->addListener(css::uno::Reference<XStreamListener> (
                                 this));
 
@@ -468,7 +468,7 @@ namespace XSLT
         OSL_ASSERT(m_tcontrol.is());
         if (m_tcontrol.is() && m_rOutputStream.is())
             {
-                // we want to be notfied when the processing is done...
+                // we want to be notified when the processing is done...
                 m_tcontrol->addListener(css::uno::Reference<XStreamListener> (this));
 
                 // create pipe
diff --git a/framework/source/helper/ocomponentenumeration.cxx b/framework/source/helper/ocomponentenumeration.cxx
index 5e374dc4d17e..76622c93bb6b 100644
--- a/framework/source/helper/ocomponentenumeration.cxx
+++ b/framework/source/helper/ocomponentenumeration.cxx
@@ -66,7 +66,7 @@ sal_Bool SAL_CALL OComponentEnumeration::hasMoreElements()
     // First position in a valid list is 0.
     // => The last one is getLength() - 1!
     // m_nPosition's current value is the position for the next element, which will be return, if user call "nextElement()"
-    // => We have more elements if current position less then the length of the list!
+    // => We have more elements if current position less than the length of the list!
     return ( m_nPosition < static_cast<sal_uInt32>(m_seqComponents.size()) );
 }
 
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index fd94a6aa477f..95e5a7c11d22 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -182,7 +182,7 @@ public:
 
     /** retrieves a global constant in the basic library, referring to some UNO object, returns true if a value is found ( value is in aOut ) false otherwise. */
                     bool GetGlobalUNOConstant( const OUString& rName, css::uno::Any& aOut );
-    /** determines whether there are password-protected modules whose size exceedes the
+    /** determines whether there are password-protected modules whose size exceeds the
         legacy module size
         @param _out_rModuleNames
             takes the names of modules whose size exceeds the legacy limit


More information about the Libreoffice-commits mailing list