[Libreoffice-commits] core.git: canvas/source chart2/source cli_ure/source comphelper/source compilerplugins/clang connectivity/source

Andrea Gelmini andrea.gelmini at gelma.net
Fri Mar 3 07:43:16 UTC 2017


 canvas/source/tools/surfaceproxy.cxx                  |    2 +-
 chart2/source/view/charttypes/VSeriesPlotter.cxx      |    2 +-
 cli_ure/source/scripts/increment_version.pl           |    2 +-
 comphelper/source/misc/backupfilehelper.cxx           |    6 +++---
 compilerplugins/clang/overrideparam.cxx               |    2 +-
 compilerplugins/clang/passstuffbyref.cxx              |    2 +-
 compilerplugins/clang/refcounting.cxx                 |    2 +-
 compilerplugins/clang/unusedmethods.py                |    2 +-
 connectivity/source/drivers/evoab2/NDriver.cxx        |    2 +-
 connectivity/source/drivers/kab/KConnection.cxx       |    2 +-
 connectivity/source/drivers/kab/KDriver.cxx           |    2 +-
 connectivity/source/drivers/macab/MacabConnection.cxx |    2 +-
 connectivity/source/drivers/macab/MacabDriver.cxx     |    2 +-
 connectivity/source/drivers/mork/MConnection.cxx      |    2 +-
 connectivity/source/inc/hsqldb/HDriver.hxx            |    2 +-
 connectivity/source/inc/mysql/YDriver.hxx             |    2 +-
 connectivity/source/inc/odbc/OConnection.hxx          |    2 +-
 connectivity/source/parse/sqliterator.cxx             |    2 +-
 18 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 6fab286b2a213575e3b1ccd0eddb00c8b242af00
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Thu Mar 2 17:56:40 2017 +0100

    Fix typos
    
    Change-Id: I4f16ba5fc32cbfd6a5b01e495f3ad905da193524
    Reviewed-on: https://gerrit.libreoffice.org/34808
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/canvas/source/tools/surfaceproxy.cxx b/canvas/source/tools/surfaceproxy.cxx
index 2699820..4f17d239 100644
--- a/canvas/source/tools/surfaceproxy.cxx
+++ b/canvas/source/tools/surfaceproxy.cxx
@@ -114,7 +114,7 @@ namespace canvas
             ::basegfx::triangulator::triangulate(rClipPoly));
 
         // dump polygons
-        SAL_INFO("canvas", "Orignal clip polygon: " <<  basegfx::tools::exportToSvgD( rClipPoly, true, true, false ));
+        SAL_INFO("canvas", "Original clip polygon: " <<  basegfx::tools::exportToSvgD( rClipPoly, true, true, false ));
         SAL_INFO("canvas", "Triangulated polygon: " <<  basegfx::tools::exportToSvgD(basegfx::B2DPolyPolygon(rTriangulatedPolygon), true, true, false ));
 
         for( const auto& rSurfacePtr : maSurfaceList )
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index bd17a54..0d98ead 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -1697,7 +1697,7 @@ namespace {
  * <p>For each X value, we calculate separate Y value ranges for each data
  * series in the first pass.  In the second pass, we calculate the minimum Y
  * value by taking the absolute minimum value of all data series, whereas
- * the maxium Y value is the sum of all the series maximum Y values.</p>
+ * the maximum Y value is the sum of all the series maximum Y values.</p>
  *
  * <p>Once that's done for all X values, the final min / max Y values get
  * calculated by taking the absolute min / max Y values across all the X
diff --git a/cli_ure/source/scripts/increment_version.pl b/cli_ure/source/scripts/increment_version.pl
index d8606d6..ad371e4 100644
--- a/cli_ure/source/scripts/increment_version.pl
+++ b/cli_ure/source/scripts/increment_version.pl
@@ -30,7 +30,7 @@ sub incrementPolicyVersion($);
 my $usage =
 "The tool increments the minor version of assemblies and the major version of ".
 "the respective policy files. This is only done if new uno types have been added since".
-"the last product upate. This information is obtained from the file which is passed as ".
+"the last product update. This information is obtained from the file which is passed as ".
 "argument changedTypes. The names in the version file must have a particular form. ".
 "They must end on one of folling terms: NEW_VERSION, OLD_VERSION, POLICY_VERSION\n".
 "If no new published types have been added then no output, argument  newVersions, is written".
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index face14f..5c65dde 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -1763,7 +1763,7 @@ namespace comphelper
 
         if (mbActive)
         {
-            // ensure existance
+            // ensure existence
             getInitialBaseURL();
 
             // if not found, we are out of business (maExt may be empty)
@@ -1809,7 +1809,7 @@ namespace comphelper
 
     void BackupFileHelper::reactOnSafeMode(bool bSafeMode)
     {
-        // ensure existance of needed paths
+        // ensure existence of needed paths
         getInitialBaseURL();
 
         if (!maUserConfigBaseURL.isEmpty())
@@ -2719,7 +2719,7 @@ namespace comphelper
         case 2:
         {
             // whole directory. To do so, scan directory and exclude some dirs
-            // from which we know they do not need to be secured explicitely. This
+            // from which we know they do not need to be secured explicitly. This
             // should already include registrymodifications, too.
             scanDirsAndFiles(
                 maUserConfigWorkURL,
diff --git a/compilerplugins/clang/overrideparam.cxx b/compilerplugins/clang/overrideparam.cxx
index 3febe4d..28e5739 100644
--- a/compilerplugins/clang/overrideparam.cxx
+++ b/compilerplugins/clang/overrideparam.cxx
@@ -15,7 +15,7 @@
 #include "check.hxx"
 
 /*
-  Find overriden methods that :
+  Find overridden methods that :
   (a) declare default params in different palces to their super-method(s)
 
   Still TODO
diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx
index 8bbea52..37dcb4e 100644
--- a/compilerplugins/clang/passstuffbyref.cxx
+++ b/compilerplugins/clang/passstuffbyref.cxx
@@ -141,7 +141,7 @@ bool PassStuffByRef::VisitFunctionDecl(const FunctionDecl * functionDecl) {
     {
         return true;
     }
-    // only consider base declarations, not overriden ones, or we warn on methods that
+    // only consider base declarations, not overridden ones, or we warn on methods that
     // are overriding stuff from external libraries
     const CXXMethodDecl * methodDecl = dyn_cast<CXXMethodDecl>(functionDecl);
     if (methodDecl && methodDecl->size_overridden_methods() > 0) {
diff --git a/compilerplugins/clang/refcounting.cxx b/compilerplugins/clang/refcounting.cxx
index ab34624..7db90ed 100644
--- a/compilerplugins/clang/refcounting.cxx
+++ b/compilerplugins/clang/refcounting.cxx
@@ -474,7 +474,7 @@ bool RefCounting::VisitFunctionDecl(const FunctionDecl * functionDecl) {
     if (ignoreLocation(functionDecl)) {
         return true;
     }
-    // only consider base declarations, not overriden ones, or we warn on methods that
+    // only consider base declarations, not overridden ones, or we warn on methods that
     // are overriding stuff from external libraries
     const CXXMethodDecl * methodDecl = dyn_cast<CXXMethodDecl>(functionDecl);
     if (methodDecl && methodDecl->size_overridden_methods() > 0) {
diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py
index 53cc934..c164b6e 100755
--- a/compilerplugins/clang/unusedmethods.py
+++ b/compilerplugins/clang/unusedmethods.py
@@ -197,7 +197,7 @@ for d in definitionSet:
         continue
     if isOtherConstness(d, callSet):
         continue
-    # include assigment operators, if we remove them, the compiler creates a default one, which can have odd consequences
+    # include assignment operators, if we remove them, the compiler creates a default one, which can have odd consequences
     if "::operator=(" in d[1]:
         continue
     # these are only invoked implicitly, so the plugin does not see the calls
diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx
index bc98a3f..661071b 100644
--- a/connectivity/source/drivers/evoab2/NDriver.cxx
+++ b/connectivity/source/drivers/evoab2/NDriver.cxx
@@ -55,7 +55,7 @@ void OEvoabDriver::disposing()
 {
     ::osl::MutexGuard aGuard(m_aMutex);
 
-    // when driver will be destroied so all our connections have to be destroied as well
+    // when driver will be destroyed so all our connections have to be destroyed as well
     for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i)
     {
         Reference< XComponent > xComp(i->get(), UNO_QUERY);
diff --git a/connectivity/source/drivers/kab/KConnection.cxx b/connectivity/source/drivers/kab/KConnection.cxx
index d7945bb..0d54a14 100644
--- a/connectivity/source/drivers/kab/KConnection.cxx
+++ b/connectivity/source/drivers/kab/KConnection.cxx
@@ -263,7 +263,7 @@ void SAL_CALL KabConnection::clearWarnings(  )
 
 void KabConnection::disposing()
 {
-    // we noticed that we should be destroied in near future so we have to dispose our statements
+    // we noticed that we should be destroyed in near future so we have to dispose our statements
     ::osl::MutexGuard aGuard(m_aMutex);
 
     for (OWeakRefArray::iterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i)
diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx
index d169d66..9de3b87 100644
--- a/connectivity/source/drivers/kab/KDriver.cxx
+++ b/connectivity/source/drivers/kab/KDriver.cxx
@@ -347,7 +347,7 @@ void KabDriver::disposing()
 {
     ::osl::MutexGuard aGuard(m_aMutex);
 
-    // when driver will be destroied so all our connections have to be destroied as well
+    // when driver will be destroyed so all our connections have to be destroyed as well
     for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i)
     {
         Reference< XComponent > xComp(i->get(), UNO_QUERY);
diff --git a/connectivity/source/drivers/macab/MacabConnection.cxx b/connectivity/source/drivers/macab/MacabConnection.cxx
index b966538..1425e3e 100644
--- a/connectivity/source/drivers/macab/MacabConnection.cxx
+++ b/connectivity/source/drivers/macab/MacabConnection.cxx
@@ -262,7 +262,7 @@ void SAL_CALL MacabConnection::clearWarnings(  )
 
 void MacabConnection::disposing()
 {
-    // we noticed that we should be destroied in near future so we have to dispose our statements
+    // we noticed that we should be destroyed in near future so we have to dispose our statements
     ::osl::MutexGuard aGuard(m_aMutex);
 
     for (OWeakRefArray::iterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i)
diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx
index 3b64c4c..2c87a2f 100644
--- a/connectivity/source/drivers/macab/MacabDriver.cxx
+++ b/connectivity/source/drivers/macab/MacabDriver.cxx
@@ -202,7 +202,7 @@ void MacabDriver::disposing()
 {
     ::osl::MutexGuard aGuard(m_aMutex);
 
-    // when driver will be destroied so all our connections have to be destroied as well
+    // when driver will be destroyed so all our connections have to be destroyed as well
     for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i)
     {
         Reference< XComponent > xComp(i->get(), UNO_QUERY);
diff --git a/connectivity/source/drivers/mork/MConnection.cxx b/connectivity/source/drivers/mork/MConnection.cxx
index 3dd4b2b..b11808d 100644
--- a/connectivity/source/drivers/mork/MConnection.cxx
+++ b/connectivity/source/drivers/mork/MConnection.cxx
@@ -349,7 +349,7 @@ void SAL_CALL OConnection::clearWarnings(  )
 
 void OConnection::disposing()
 {
-    // we noticed that we should be destroied in near future so we have to dispose our statements
+    // we noticed that we should be destroyed in near future so we have to dispose our statements
     ::osl::MutexGuard aGuard(m_aMutex);
     dispose_ChildImpl();
     m_xCatalog.clear();
diff --git a/connectivity/source/inc/hsqldb/HDriver.hxx b/connectivity/source/inc/hsqldb/HDriver.hxx
index 6a9957c..364a6db 100644
--- a/connectivity/source/inc/hsqldb/HDriver.hxx
+++ b/connectivity/source/inc/hsqldb/HDriver.hxx
@@ -55,7 +55,7 @@ namespace connectivity
         typedef std::vector< TWeakPair > TWeakPairVector;
 
 
-        /** delegates all calls to the orignal driver and extend the existing one with the SDBCX layer.
+        /** delegates all calls to the original driver and extend the existing one with the SDBCX layer.
 
         */
         class ODriverDelegator : public ::cppu::BaseMutex
diff --git a/connectivity/source/inc/mysql/YDriver.hxx b/connectivity/source/inc/mysql/YDriver.hxx
index 159ed99..23b9f89 100644
--- a/connectivity/source/inc/mysql/YDriver.hxx
+++ b/connectivity/source/inc/mysql/YDriver.hxx
@@ -55,7 +55,7 @@ namespace connectivity
         typedef std::vector< TWeakPair > TWeakPairVector;
         typedef std::map< OUString, css::uno::Reference< css::sdbc::XDriver > > TJDBCDrivers;
 
-        /** delegates all calls to the orignal driver and extend the existing one with the SDBCX layer.
+        /** delegates all calls to the original driver and extend the existing one with the SDBCX layer.
 
         */
         class ODriverDelegator : public ::cppu::BaseMutex
diff --git a/connectivity/source/inc/odbc/OConnection.hxx b/connectivity/source/inc/odbc/OConnection.hxx
index 73610e4..1c33aca 100644
--- a/connectivity/source/inc/odbc/OConnection.hxx
+++ b/connectivity/source/inc/odbc/OConnection.hxx
@@ -55,7 +55,7 @@ namespace connectivity
 
             // Data attributes
 
-            std::map< SQLHANDLE,OConnection*> m_aConnections; // holds all connections which are need for serveral statements
+            std::map< SQLHANDLE,OConnection*> m_aConnections; // holds all connections which are need for several statements
 
 
             OUString        m_sUser;        //  the user name
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index 1cffcd3..1b2e957 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -447,7 +447,7 @@ void OSQLParseTreeIterator::traverseOneTableName( OSQLTables& _rTables,const OSQ
                                 false,
                                 ::dbtools::EComposeRule::InDataManipulation);
 
-    // if there is no alias for the table name assign the orignal name to it
+    // if there is no alias for the table name assign the original name to it
     if ( aTableRange.isEmpty() )
         aTableRange = aComposedName;
 


More information about the Libreoffice-commits mailing list