[Libreoffice-commits] core.git: cli_ure/source comphelper/source compilerplugins/clang config_host/config_features.h.in configure.ac connectivity/source

Andrea Gelmini andrea.gelmini at gelma.net
Tue Sep 29 23:00:39 PDT 2015


 cli_ure/source/climaker/climaker_emit.cxx                                |    6 +--
 comphelper/source/container/embeddedobjectcontainer.cxx                  |    2 -
 compilerplugins/clang/bodynotinblock.cxx                                 |    2 -
 compilerplugins/clang/simplifybool.cxx                                   |    2 -
 config_host/config_features.h.in                                         |   18 +++++-----
 configure.ac                                                             |    2 -
 connectivity/source/commontools/parameters.cxx                           |    2 -
 connectivity/source/cpool/ZConnectionPool.hxx                            |    2 -
 connectivity/source/drivers/dbase/DTable.cxx                             |    2 -
 connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx                 |    2 -
 connectivity/source/drivers/file/FResultSet.cxx                          |    4 +-
 connectivity/source/drivers/file/quotedstring.cxx                        |    4 +-
 connectivity/source/drivers/macab/MacabRecords.cxx                       |    4 +-
 connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx        |    2 -
 connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx |    2 -
 15 files changed, 28 insertions(+), 28 deletions(-)

New commits:
commit ce343470c385dc8390bbc4bf3e85457c1d55e0ec
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 29 17:46:36 2015 +0200

    Fix typos
    
    Change-Id: Iaff7e38dd5beac48e1643e369e4240aa736c35ea
    Reviewed-on: https://gerrit.libreoffice.org/18941
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/cli_ure/source/climaker/climaker_emit.cxx b/cli_ure/source/climaker/climaker_emit.cxx
index 51bed9a..2ba5c62 100644
--- a/cli_ure/source/climaker/climaker_emit.cxx
+++ b/cli_ure/source/climaker/climaker_emit.cxx
@@ -1369,7 +1369,7 @@ Assembly ^ TypeEmitter::type_resolve(
                 code->Emit( Emit::OpCodes::Ldarg_0 );
                 code->Emit(
                     Emit::OpCodes::Newobj,
-                    //GetConstructor requies that the member types of the object which is to be constructed are already known.
+                    //GetConstructor requires that the member types of the object which is to be constructed are already known.
                     field_type->GetConstructor(
                     gcnew array< ::System::Type^> ( 0 ) ) );
                 code->Emit( Emit::OpCodes::Stfld, field );
@@ -1638,7 +1638,7 @@ Assembly ^ TypeEmitter::type_resolve(
 
         //We create a try/ catch around the createInstanceWithContext, etc. functions
         //There are 3 cases
-        //1. function do not specify exceptions. Then RuntimeExceptions are retrhown and other
+        //1. function do not specify exceptions. Then RuntimeExceptions are re-thrown and other
         //   exceptions produce a DeploymentException.
         //2. function specify  Exception. Then all exceptions fly through
         //3. function specifies exceptions but no Exception. Then these are rethrown
@@ -1829,7 +1829,7 @@ Assembly ^ TypeEmitter::type_resolve(
             //catch (unoidl.com.sun.star.uno.Exception) {throw DeploymentException...}
             ilGen->BeginCatchBlock(type_uno_exception);
 
-            //Define the local variabe that keeps the exception
+            //Define the local variable that keeps the exception
              Emit::LocalBuilder ^ local_exception = ilGen->DeclareLocal(
                  type_uno_exception);
 
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 2dbbe7a..caa2d25 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -1479,7 +1479,7 @@ bool EmbeddedObjectContainer::StoreChildren(bool _bOasisFormat,bool _bObjectsOnl
                     //TODO/LATER: only storing if changed!
                     //xPersist->storeOwn(); //commented, i120168
 
-            // begin:all charts will be persited as xml format on disk when saving, which is time consuming.
+            // begin:all charts will be persisted as xml format on disk when saving, which is time consuming.
                     // '_bObjectsOnly' mean we are storing to alien formats.
                     //  'isStorageElement' mean current object is NOT an MS OLE format. (may also include in future), i120168
                     if (_bObjectsOnly && (nCurState == embed::EmbedStates::LOADED || nCurState == embed::EmbedStates::RUNNING)
diff --git a/compilerplugins/clang/bodynotinblock.cxx b/compilerplugins/clang/bodynotinblock.cxx
index 210aa36..ca4f9049 100644
--- a/compilerplugins/clang/bodynotinblock.cxx
+++ b/compilerplugins/clang/bodynotinblock.cxx
@@ -78,7 +78,7 @@ void BodyNotInBlock::checkBody( const Stmt* body, SourceLocation stmtLocation, i
         return;
     // TODO: If the if/else/while/for comes from a macro expansion, ignore it completely for
     // now. The code below could assume everything is in the same place (and thus also column)
-    // and give a false warning. Moreover some macros are rather lousily written and would
+    // and give a false warning. Moreover some macros are rather loosely written and would
     // result in poor formatting. To be evaluated later, maybe this could be handled
     // including macro expansion.
     if( stmtLocation.isMacroID())
diff --git a/compilerplugins/clang/simplifybool.cxx b/compilerplugins/clang/simplifybool.cxx
index 9f82660..d70751f 100644
--- a/compilerplugins/clang/simplifybool.cxx
+++ b/compilerplugins/clang/simplifybool.cxx
@@ -33,7 +33,7 @@ enum class Value { Unknown, False, True };
 Value getValue(Expr const * expr) {
     expr = ignoreParenImpCastAndComma(expr);
     if (expr->getType()->isBooleanType()) {
-        // Instead going via Expr::isCXX11ConstantExpr would turn up excatly one
+        // Instead going via Expr::isCXX11ConstantExpr would turn up exactly one
         // additional place in svx/source/dialog/framelinkarray.cxx
         //
         //   const bool DIAG_DBL_CLIP_DEFAULT = false;
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
index 06e4e75..77fea97 100644
--- a/config_host/config_features.h.in
+++ b/config_host/config_features.h.in
@@ -18,7 +18,7 @@
 /* DESKTOP - Whether we have a "normal" desktop UI or not.
  *
  * Non-DESKTOP in practice means touch-based mobile devices, Android
- * or iOS for now. Support for those is work in pogress.
+ * or iOS for now. Support for those is work in progress.
  *
  * Non-DESKTOP implies that the OS makes sure that only one instance
  * of each LibreOffice-based "app" at a time can be running, and thus
@@ -95,15 +95,15 @@
 
 #define HAVE_FEATURE_OPENCL 0
 
-/* 
- * Whether the OS has Avahi support, 
+/*
+ * Whether the OS has Avahi support,
  * This library is used for zeroconf service publication on the local network
- * for the Impress remote control, so that the remote can automatically 
- * discover the running libO instance and its IP address. 
- * 
- * This library should be present on most mordern linux distributions
- * but not on "all" of them. For now, you should add --enable-avahi for 
- * this to be taken into account. Otherwise the test of its presence 
+ * for the Impress remote control, so that the remote can automatically
+ * discover the running libO instance and its IP address.
+ *
+ * This library should be present on most modern linux distributions
+ * but not on "all" of them. For now, you should add --enable-avahi for
+ * this to be taken into account. Otherwise the test of its presence
  * will not take place.
  */
 
diff --git a/configure.ac b/configure.ac
index 1389a6d..a84772b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2889,7 +2889,7 @@ if test $_os = Darwin; then
 
     AC_MSG_CHECKING([that macosx-version-max-allowed is coherent with macos-with-sdk])
     if test $MAC_OS_X_VERSION_MAX_ALLOWED -gt $MACOSX_SDK_VERSION; then
-        AC_MSG_ERROR([the version maximum allowed cannot be greater thatn the sdk level])
+        AC_MSG_ERROR([the version maximum allowed cannot be greater than the sdk level])
     else
         AC_MSG_RESULT([ok])
     fi
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 06f16ac..20fce17 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -277,7 +277,7 @@ namespace dbtools
             bool bValidLink = true;
 
             // is there an inner parameter with this name? That is, a parameter which is already part of
-            // the very original statement (not the one we create ourselve, with the additional parameters)
+            // the very original statement (not the one we create ourselves, with the additional parameters)
             ParameterInformation::iterator aPos = m_aParameterInformation.find( *pDetailFields );
             if ( aPos != m_aParameterInformation.end() )
             {   // there is an inner parameter with this name
diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx
index 6b85b64..0eec500 100644
--- a/connectivity/source/cpool/ZConnectionPool.hxx
+++ b/connectivity/source/cpool/ZConnectionPool.hxx
@@ -61,7 +61,7 @@ namespace connectivity
 
     typedef ::cppu::WeakImplHelper< ::com::sun::star::beans::XPropertyChangeListener>  OConnectionPool_Base;
 
-    // typedef for the interanl structure
+    // typedef for the internal structure
     typedef ::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPooledConnection> > TPooledConnections;
 
      // contains the currently pooled connections
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 6fd3ba7..bc3d46b 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -547,7 +547,7 @@ void ODbaseTable::construct()
 
         if (m_pMemoStream)
         {
-            // set the buffer extactly to the length of a record
+            // set the buffer exactly to the length of a record
             m_pMemoStream->Seek(STREAM_SEEK_TO_END);
             nFileSize = m_pMemoStream->Tell();
             m_pMemoStream->Seek(STREAM_SEEK_TO_BEGIN);
diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
index 96d0450..e510395 100644
--- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
@@ -994,7 +994,7 @@ sal_Bool SAL_CALL OEvoabDatabaseMetaData::supportsBatchUpdates(  ) throw(SQLExce
 
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTableTypes(  ) throw(SQLException, RuntimeException, std::exception)
 {
-    /* Dont need to change as evoab driver supports only table */
+    /* Don't need to change as evoab driver supports only table */
 
     // there exists no possibility to get table types so we have to check
     static const OUString sTableTypes[] =
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 6b7bac4..682d42b 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -788,8 +788,8 @@ bool OResultSet::ExecuteRow(IResultSetHelper::Movement eFirstCursorPosition,
     bool bHasRestriction = m_pSQLAnalyzer->hasRestriction();
 again:
 
-    // protect from reading over the end when someboby is inserting while we are reading
-    // this method works only for dBase at the moment !!!!
+    // protect from reading over the end when somebody is inserting while we are reading
+    // this method works only for dBase at the moment!!!
     if (eCursorPosition == IResultSetHelper::NEXT && m_nFilePos == m_nLastVisitedPos)
     {
         return false;
diff --git a/connectivity/source/drivers/file/quotedstring.cxx b/connectivity/source/drivers/file/quotedstring.cxx
index c5fffb1..8a859c5 100644
--- a/connectivity/source/drivers/file/quotedstring.cxx
+++ b/connectivity/source/drivers/file/quotedstring.cxx
@@ -50,12 +50,12 @@ namespace connectivity
 
             if (bInString)
             {
-                // when now the String-Delimiter-character occurs ...
+                // when now the String-Delimiter-character occurs...
                 if ( cChar == cStrDel )
                 {
                     if ((i+1 < nLen) && (m_sString[i+1] == cStrDel))
                     {
-                        // double String-Delimter-character:
+                        // double String-Delimiter-character:
                         ++i;    // no string-end, skip next character.
                     }
                     else
diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx
index 0423a2c..7923ccb 100644
--- a/connectivity/source/drivers/macab/MacabRecords.cxx
+++ b/connectivity/source/drivers/macab/MacabRecords.cxx
@@ -90,7 +90,7 @@ MacabRecords::MacabRecords(const ABAddressBookRef _addressBook, MacabHeader *_he
  * The idea is that the only reason to copy a MacabRecords is to create
  * a filtered version of it, which can have the same length (to avoid
  * resizing) and will work from the same base addressbook, but might have
- * entirey different values and even (possibly in the future) a different
+ * entirely different values and even (possibly in the future) a different
  * header.
  */
 MacabRecords::MacabRecords(const MacabRecords *_copy)
@@ -435,7 +435,7 @@ MacabHeader *MacabRecords::createHeaderForRecordType(const CFArrayRef _records,
         }
     }
 
-    // Somehow, we got too many or too few non-requird properties...
+    // Somehow, we got too many or too few non-required properties...
     // Most likely, one of the required properties no longer exists, which
     // we also test later.
     OSL_ENSURE(k == numNonRequiredProperties, "MacabRecords::createHeaderForRecordType: Found an unexpected number of non-required properties");
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx
index 1e5e0c4..5480699 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx
@@ -76,7 +76,7 @@ namespace connectivity
             OUString ProfileManager::setCurrentProfile( ::com::sun::star::mozilla::MozillaProductType product, const OUString& profileName ) throw (::com::sun::star::uno::RuntimeException)
             {
                 OUString currentProfile = getCurrentProfile();
-                //if profileName not given, then skip and return curernt profile
+                //if profileName not given, then skip and return current profile
                 if (profileName.isEmpty() && m_CurrentProduct == product)
                     return currentProfile;
 
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
index 7b826e0..c3ac8f6 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
@@ -136,7 +136,7 @@ static nsresult insertPABDescription()
     // mozilla loads the descriptions of pab and history from a file named addressbook.properties
     // we never deliver it with OOo,so mozab does not auto load personal addressbook and Collected addresses
     // If we want to deliver addressbook.properties with OOo,we have to deal with hole mozilla chrome mechanism.
-    // So I insert the descriptiones as user prefes,they will cover the default value.
+    // So I insert the descriptiones as user prefs, they will cover the default value.
 
     //"Personal Address Book" "Collected Addresses" are loaded from officecfg
     nsCOMPtr<nsIPref> prefs = do_GetService(NS_PREF_CONTRACTID, &rv);


More information about the Libreoffice-commits mailing list