[Libreoffice-commits] core.git: configure.ac connectivity/source cppuhelper/source cui/source dbaccess/source desktop/source drawinglayer/source editeng/source

Andrea Gelmini andrea.gelmini at gelma.net
Fri Jul 3 02:03:18 PDT 2015


 configure.ac                                                             |    6 +++---
 connectivity/source/commontools/TTableHelper.cxx                         |    2 +-
 connectivity/source/commontools/dbtools2.cxx                             |    2 +-
 connectivity/source/drivers/file/FConnection.cxx                         |    2 +-
 connectivity/source/drivers/firebird/Connection.cxx                      |    2 +-
 connectivity/source/drivers/mork/MorkParser.hxx                          |    2 +-
 connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx |    2 +-
 connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx                  |    2 +-
 connectivity/source/drivers/postgresql/pq_databasemetadata.cxx           |    2 +-
 connectivity/source/drivers/postgresql/pq_resultset.cxx                  |    2 +-
 cppuhelper/source/paths.cxx                                              |    2 +-
 cui/source/options/personalization.cxx                                   |    4 ++--
 cui/source/tabpages/tpshadow.cxx                                         |    2 +-
 cui/source/tabpages/transfrm.cxx                                         |    2 +-
 dbaccess/source/core/api/RowSetCache.cxx                                 |    2 +-
 dbaccess/source/core/dataaccess/databasedocument.hxx                     |    2 +-
 dbaccess/source/ext/macromigration/migrationengine.cxx                   |    2 +-
 dbaccess/source/ui/app/AppTitleWindow.hxx                                |    2 +-
 dbaccess/source/ui/control/RelationControl.cxx                           |    2 +-
 dbaccess/source/ui/dlg/paramdialog.cxx                                   |    2 +-
 dbaccess/source/ui/inc/JoinController.hxx                                |    2 +-
 dbaccess/source/ui/inc/TableConnectionData.hxx                           |    2 +-
 dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx                     |    2 +-
 desktop/source/app/app.cxx                                               |    2 +-
 desktop/source/deployment/gui/dp_gui_updatedata.hxx                      |    2 +-
 desktop/source/deployment/manager/dp_extensionmanager.hxx                |    2 +-
 desktop/source/deployment/manager/dp_manager.cxx                         |    2 +-
 desktop/source/deployment/misc/dp_descriptioninfoset.cxx                 |    2 +-
 desktop/source/deployment/registry/component/dp_component.cxx            |    2 +-
 desktop/source/deployment/registry/help/dp_help.cxx                      |    2 +-
 drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx       |    2 +-
 drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx                 |    2 +-
 drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx               |    2 +-
 drawinglayer/source/primitive3d/sdrprimitive3d.cxx                       |    2 +-
 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx               |    4 ++--
 editeng/source/accessibility/AccessibleStaticTextBase.cxx                |    2 +-
 editeng/source/editeng/eertfpar.cxx                                      |    2 +-
 editeng/source/editeng/impedit2.cxx                                      |    2 +-
 editeng/source/editeng/impedit3.cxx                                      |    2 +-
 editeng/source/editeng/impedit4.cxx                                      |    2 +-
 editeng/source/editeng/impedit5.cxx                                      |    2 +-
 editeng/source/misc/splwrap.cxx                                          |    2 +-
 editeng/source/outliner/outlvw.cxx                                       |    2 +-
 43 files changed, 47 insertions(+), 47 deletions(-)

New commits:
commit 87dc6c82d5cd174ae2384b66a203a93402b43291
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Thu Jul 2 18:21:49 2015 +0200

    Fix typos
    
    Change-Id: Ideb5688a8c9e7cf10038f2e9d00991e8653b1875
    Reviewed-on: https://gerrit.libreoffice.org/16706
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>

diff --git a/configure.ac b/configure.ac
index 70ab9c8..06b2d5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1453,10 +1453,10 @@ AC_ARG_ENABLE(openssl,
 
 AC_ARG_ENABLE(library-bin-tar,
     AS_HELP_STRING([--enable-library-bin-tar],
-        [Enable the building and reused of tarball of binary build for some 'external' libraries
+        [Enable the building and reused of tarball of binary build for some 'external' libraries.
         Some libraries can save their build result in a tarball
-        stored in TARFILE_LOCATION. that binary tarball is
-        uniquely identified by the source tarbal,
+        stored in TARFILE_LOCATION. That binary tarball is
+        uniquely identified by the source tarball,
         the content of the config_host.mk file and the content
         of the top-level directory in core for that library
         If this option is enabled, then if such a tarfile exist, it will be untarred
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx
index 2ddf19a..b12f05a 100644
--- a/connectivity/source/commontools/TTableHelper.cxx
+++ b/connectivity/source/commontools/TTableHelper.cxx
@@ -367,7 +367,7 @@ void OTableHelper::refreshForeignKeys(TStringVector& _rNames)
         OUString aName,sCatalog,aSchema,sOldFKName;
         while( xResult->next() )
         {
-            // this must be outsid the "if" because we have to call in a right order
+            // this must be outside the "if" because we have to call in a right order
             sCatalog    = xRow->getString(1);
             if ( xRow->wasNull() )
                 sCatalog.clear();
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx
index 13923c0..ce7fc96 100644
--- a/connectivity/source/commontools/dbtools2.cxx
+++ b/connectivity/source/commontools/dbtools2.cxx
@@ -750,7 +750,7 @@ sal_Int32 getTablePrivileges(const Reference< XDatabaseMetaData>& _xMetaData,
 
         // Some drivers put a table privilege as soon as any column has the privilege,
         // some drivers only if all columns have the privilege.
-        // To unifiy the situation, collect column privileges here, too.
+        // To unify the situation, collect column privileges here, too.
         Reference< XResultSet > xColumnPrivileges = _xMetaData->getColumnPrivileges(aVal, _sSchema, _sTable, OUString("%"));
         Reference< XRow > xColumnCurrentRow(xColumnPrivileges, UNO_QUERY);
         if ( xColumnCurrentRow.is() )
diff --git a/connectivity/source/drivers/file/FConnection.cxx b/connectivity/source/drivers/file/FConnection.cxx
index 8f12657..92a1a3a 100644
--- a/connectivity/source/drivers/file/FConnection.cxx
+++ b/connectivity/source/drivers/file/FConnection.cxx
@@ -192,7 +192,7 @@ void OConnection::construct(const OUString& url,const Sequence< PropertyValue >&
             }
             else
             {
-                OSL_FAIL("OConnection::construct: ::ucbhelper::Content isn't a folde nor a document! How that?!");
+                OSL_FAIL("OConnection::construct: ::ucbhelper::Content isn't a folder nor a document! How that?!");
                 throw SQLException();
             }
         }
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 6e3fc15..06df0d6 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -196,7 +196,7 @@ void Connection::construct(const ::rtl::OUString& url, const Sequence< PropertyV
 
                 xFileAccess->writeFile(m_sFirebirdURL,xDBStream->getInputStream());
             }
-            // TOOO: Get DB properties from XML
+            // TODO: Get DB properties from XML
 
         }
         // External file AND/OR remote connection
diff --git a/connectivity/source/drivers/mork/MorkParser.hxx b/connectivity/source/drivers/mork/MorkParser.hxx
index 01d47e3..ddb5f4b 100644
--- a/connectivity/source/drivers/mork/MorkParser.hxx
+++ b/connectivity/source/drivers/mork/MorkParser.hxx
@@ -160,7 +160,7 @@ protected: // Data
     int defaultListScope_;
     int defaultTableId_;
 
-    // Indicates intity is being parsed
+    // Indicates entity is being parsed
     enum { NPColumns, NPValues, NPRows } nowParsing_;
 
 private:
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
index 5c1814f..9125163 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
@@ -547,7 +547,7 @@ sal_Bool MDatabaseMetaDataHelper::getTableStrings( OConnection*
         m_bProfileExists = sal_False;
         //If there are no profiles for this product
         //Or the given profile name does not found
-        //We will reaise a "No Addressbook Directories Exist" error
+        //We will raise a "No Addressbook Directories Exist" error
         if ( xMozillaBootstrap->getProfileCount(m_ProductType) == 0 ||
             ( !m_ProfileName.isEmpty() && xMozillaBootstrap->getProfilePath(m_ProductType,m_ProfileName).isEmpty()))
             m_bProfileExists = sal_False;
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
index 7975758..b1190db 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
@@ -431,7 +431,7 @@ sal_Int32 MQuery::executeQueryProxied(OConnection* _pCon)
         return -1;
 
 
-    //insert ldap bind info to mozilla profile(in memery,none saved),so we can use it in mozilla part codes
+    //insert ldap bind info to mozilla profile(in memory, none saved), so we can use it in mozilla part codes
     if (_pCon->isLDAP())
     {
           rv = InsertLoginInfo(_pCon);
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 41c9558..1018677 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -170,7 +170,7 @@ sal_Bool DatabaseMetaData::nullsAreSortedHigh(  ) throw (SQLException, RuntimeEx
 {
     // Whether NULL values are considered, for sorting purposes, LARGER than any other value.
     // Specification: http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html#nullsAreSortedHigh()
-    // PostgreSQL behaviour: http://www.postgresql.org/docs/9.1/static/queries-order.htlm
+    // PostgreSQL behaviour: http://www.postgresql.org/docs/9.1/static/queries-order.html
     return sal_True;
 }
 
diff --git a/connectivity/source/drivers/postgresql/pq_resultset.cxx b/connectivity/source/drivers/postgresql/pq_resultset.cxx
index 950369a..f17cef8 100644
--- a/connectivity/source/drivers/postgresql/pq_resultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_resultset.cxx
@@ -162,7 +162,7 @@ sal_Int32 ResultSet::findColumn( const OUString& columnName )
     checkClosed();
     sal_Int32 res = PQfnumber( m_result,
                                OUStringToOString( columnName, (*m_ppSettings)->encoding ).getStr());
-    /* PQfnumber reurn -1 for not found, which is what we want
+    /* PQfnumber return -1 for not found, which is what we want
      * other than that we use col number as 1-based not 0-based */
     if(res >= 0)
     {
diff --git a/cppuhelper/source/paths.cxx b/cppuhelper/source/paths.cxx
index c00d729..a17be2a 100644
--- a/cppuhelper/source/paths.cxx
+++ b/cppuhelper/source/paths.cxx
@@ -61,7 +61,7 @@ rtl::OUString get_this_libpath() {
 
 rtl::OUString cppu::getUnoIniUri() {
 #if defined ANDROID
-    // Wouldn't it be lovely to avoid this fugly hard-coding.
+    // Wouldn't it be lovely to avoid this ugly hard-coding.
     // The problem is that the 'create_bootstrap_macro_expander_factory()'
     // required for bootstrapping services, calls cppu::get_unorc directly
     // instead of re-using the BoostrapHandle from:
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index f19cfb4..5e550a2 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -143,7 +143,7 @@ IMPL_LINK( SelectPersonaDialog, SearchPersonas, PushButton*, pButton )
         return 0;
 
     // TODO FIXME!
-    // Before the release, the allizom.org url shoud be changed to:
+    // Before the release, the allizom.org url should be changed to:
     // OUString rSearchURL = "https://services.addons.mozilla.org/en-US/firefox/api/1.5/search/" + searchTerm + "/9/9";
     // The problem why it cannot be done just now is that the SSL negotiation
     // with services.addons.mozilla.org fails very early - during an early
@@ -153,7 +153,7 @@ IMPL_LINK( SelectPersonaDialog, SearchPersonas, PushButton*, pButton )
     // This is not cleared anywhere during the init, and so later, even though
     // we have found the certificate, this triggers
     // NeonSession_CertificationNotify callback, that
-    // causes that NE_SSL_UNTRUSTED is igored in cases when the condition
+    // causes that NE_SSL_UNTRUSTED is ignored in cases when the condition
     //   if ( pSession->isDomainMatch(
     //      GetHostnamePart( xEECert.get()->getSubjectName() ) ) )
     // is true; but that is only when getSubjectName() actually returns a
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx
index 08a4d3c..67abb5d 100644
--- a/cui/source/tabpages/tpshadow.cxx
+++ b/cui/source/tabpages/tpshadow.cxx
@@ -311,7 +311,7 @@ bool SvxShadowTabPage::FillItemSet( SfxItemSet* rAttrs )
         // If the values of the shadow distances==SfxItemState::DONTCARE and the displayed
         // string in the respective MetricField=="", then the comparison of the old
         // and the new distance values would return a wrong result because in such a
-        // case the new distance values would matche the default values of the MetricField !!!!
+        // case the new distance values would match the default values of the MetricField !!!!
         if ( !m_pMtrDistance->IsEmptyFieldValue()                                  ||
              rOutAttrs.GetItemState( SDRATTR_SHADOWXDIST ) != SfxItemState::DONTCARE ||
              rOutAttrs.GetItemState( SDRATTR_SHADOWYDIST ) != SfxItemState::DONTCARE    )
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 950a4b2..a597944 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -642,7 +642,7 @@ SvxPositionSizeTabPage::SvxPositionSizeTabPage(vcl::Window* pParent, const SfxIt
     get(m_pTsbAutoGrowWidth, "TSB_AUTOGROW_WIDTH");
     get(m_pTsbAutoGrowHeight, "TSB_AUTOGROW_HEIGHT");
 
-    // this pege needs ExchangeSupport
+    // this page needs ExchangeSupport
     SetExchangeSupport();
 
     // evaluate PoolUnit
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index 2daf081..3bb5c83 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -499,7 +499,7 @@ Any ORowSetCache::getBookmark(  )
 
     if ( m_aMatrixIter >= m_pMatrix->end() || m_aMatrixIter < m_pMatrix->begin() || !(*m_aMatrixIter).is())
     {
-        return Any(); // this is allowed here because the rowset knowns what it is doing
+        return Any(); // this is allowed here because the rowset knows what it is doing
     }
 
     return lcl_getBookmark(((*m_aMatrixIter)->get())[0],m_pCacheSet);
diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx
index 8589917..aa7146a 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -523,7 +523,7 @@ private:
     /** resets everything
 
         @precond
-            m_pImpl is not <NULLL/>
+            m_pImpl is not <NULL/>
     */
     void
             impl_reset_nothrow();
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index 91d17b2..ae23ee3 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -970,7 +970,7 @@ namespace dbmm
             if ( !impl_handleDocument_nothrow( *doc ) )
                 return false;
 
-            // update overall progress vallue
+            // update overall progress value
             m_rProgress.setOverallProgressValue( nOverallProgressValue );
         }
 
diff --git a/dbaccess/source/ui/app/AppTitleWindow.hxx b/dbaccess/source/ui/app/AppTitleWindow.hxx
index 888ec32..938d619 100644
--- a/dbaccess/source/ui/app/AppTitleWindow.hxx
+++ b/dbaccess/source/ui/app/AppTitleWindow.hxx
@@ -53,7 +53,7 @@ namespace dbaui
         /** gets the child window.
 
             @return
-                The child winodw.
+                The child window.
         */
         inline vcl::Window* getChildWindow() const { return m_pChild; }
 
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx
index cfb56b6..27c5f95 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -94,7 +94,7 @@ namespace dbaui
 
         /** allows to access the connection data from outside
 
-            @return rthe connection data
+            @return the connection data
         */
         inline TTableConnectionData::value_type getData() const { return m_pConnData; }
 
diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx b/dbaccess/source/ui/dlg/paramdialog.cxx
index 6d8762a..e20d01c 100644
--- a/dbaccess/source/ui/dlg/paramdialog.cxx
+++ b/dbaccess/source/ui/dlg/paramdialog.cxx
@@ -268,7 +268,7 @@ namespace dbaui
                 nNext = (nNext + 1) % nCount;
 
             if ( m_aVisitedParams[nNext] & EF_VISITED )
-                // there is no such "not visited yet" entry -> simpy take the next one
+                // there is no such "not visited yet" entry -> simply take the next one
                 nNext = (nCurrent + 1) % nCount;
 
             m_pAllParams->SelectEntryPos(nNext);
diff --git a/dbaccess/source/ui/inc/JoinController.hxx b/dbaccess/source/ui/inc/JoinController.hxx
index f3a4ce4..180b139 100644
--- a/dbaccess/source/ui/inc/JoinController.hxx
+++ b/dbaccess/source/ui/inc/JoinController.hxx
@@ -107,7 +107,7 @@ namespace dbaui
 
         /** erase the data in the data vector
             @param  _pData
-                    the data whioch should be erased
+                    the data which should be erased
         */
         void    removeConnectionData(const TTableConnectionData::value_type& _pData);
 
diff --git a/dbaccess/source/ui/inc/TableConnectionData.hxx b/dbaccess/source/ui/inc/TableConnectionData.hxx
index ac3431d..ddeea389 100644
--- a/dbaccess/source/ui/inc/TableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/TableConnectionData.hxx
@@ -80,7 +80,7 @@ namespace dbaui
 
             caller is responsible for repainting them
 
-            @return infex of first changed line, or one-past-the-end if no change
+            @return index of first changed line, or one-past-the-end if no change
          */
         OConnectionLineDataVec::size_type normalizeLines();
 
diff --git a/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx b/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx
index 0c38e1e..4506ce5 100644
--- a/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx
+++ b/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx
@@ -167,7 +167,7 @@ void OTableFieldDescWin::Resize()
             nPageWidth = nOutputWidth - STANDARD_MARGIN - STANDARD_MARGIN;
         }
         else
-        {   // unfortunately that's not even enough, to show page at its optimum and help with minimum widthn
+        {   // unfortunately that's not even enough, to show page at its optimum and help with minimum width
             nHelpX = nHelpY = nHelpWidth = nHelpHeight = 0; // thus no help window
             nPageWidth = nOutputWidth - STANDARD_MARGIN - STANDARD_MARGIN;
             nPageHeight = nOutputHeight - STANDARD_MARGIN - DETAILS_HEADER_HEIGHT - STANDARD_MARGIN;
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index bba9292..882399d 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1402,7 +1402,7 @@ int Desktop::Main()
 
         xDesktop = css::frame::Desktop::create( xContext );
 
-        // create service for loadin SFX (still needed in startup)
+        // create service for loading SFX (still needed in startup)
         pExecGlobals->xGlobalBroadcaster = Reference < css::document::XDocumentEventListener >
             ( css::frame::theGlobalEventBroadcaster::get(xContext), UNO_SET_THROW );
 
diff --git a/desktop/source/deployment/gui/dp_gui_updatedata.hxx b/desktop/source/deployment/gui/dp_gui_updatedata.hxx
index ac12cc0..ce6885d 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedata.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedata.hxx
@@ -62,7 +62,7 @@ struct UpdateData
     //The URL of the locally downloaded extension. It will only be set if there were no errors
     //during the download
     OUString sLocalURL;
-    //The URL of the website wher the download can be obtained.
+    //The URL of the website where the download can be obtained.
     OUString sWebsiteURL;
 
     //For local update
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx
index 1c2cea9..4b78c0f 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.hxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx
@@ -219,7 +219,7 @@ private:
     //only to be used within addExtension
     ::osl::Mutex m_addMutex;
     /* contains the names of all repositories (except tmp) in order of there
-       priority. That is, the first element is "user" follod by "shared" and
+       priority. That is, the first element is "user" followed by "shared" and
        then "bundled"
      */
     ::std::list< OUString > m_repositoryNames;
diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx
index c7a4429..3392b54 100644
--- a/desktop/source/deployment/manager/dp_manager.cxx
+++ b/desktop/source/deployment/manager/dp_manager.cxx
@@ -1379,7 +1379,7 @@ bool PackageManagerImpl::synchronizeAddedExtensions(
                             << "> has no explicit version");
 
                     //We provide a special command environment that will prevent
-                    //showing a license if simple-licens/@accept-by = "admin"
+                    //showing a license if simple-license/@accept-by = "admin"
                     //It will also prevent showing the license for bundled extensions
                     //which is not supported.
                     OSL_ASSERT(!(m_context == "user"));
diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
index dab93e3..9ff8405 100644
--- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
+++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
@@ -111,7 +111,7 @@ class ExtensionDescription
 public:
     /**throws an exception if the description.xml is not
         available, cannot be read, does not contain the expected data,
-        or any other error occurred. Therefore it shoult only be used with
+        or any other error occurred. Therefore it should only be used with
         new extensions.
 
         Throws com::sun::star::uno::RuntimeException,
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx
index 670994b..e17961f 100644
--- a/desktop/source/deployment/registry/component/dp_component.cxx
+++ b/desktop/source/deployment/registry/component/dp_component.cxx
@@ -819,7 +819,7 @@ void BackendImpl::unorc_verify_init(
                 //  ("?" ("BUNDLED_EXTENSIONS" |                       -- third
                 //   "UNO_SHARED_PACKAGES_CACHE" | "UNO_USER_PACKAGES_CACHE")
                 //   ...)*
-                // so can unambiguously be split into its thre parts:
+                // so can unambiguously be split into its three parts:
                 int state = 1;
                 for (sal_Int32 i = RTL_CONSTASCII_LENGTH("UNO_SERVICES=");
                      i >= 0;)
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx
index d1c9094..67ca90f 100644
--- a/desktop/source/deployment/registry/help/dp_help.cxx
+++ b/desktop/source/deployment/registry/help/dp_help.cxx
@@ -518,7 +518,7 @@ void BackendImpl::implProcessHelp(
                             {
                                 aErrStr = getResourceString( nErrStrId );
 
-                                // Remoce CR/LF
+                                // Remove CR/LF
                                 OUString aErrMsg( aErrorInfo.m_aErrorMsg );
                                 sal_Unicode nCR = 13, nLF = 10;
                                 sal_Int32 nSearchCR = aErrMsg.indexOf( nCR );
diff --git a/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx b/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx
index 6a02672..111ecda 100644
--- a/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx
@@ -80,7 +80,7 @@ namespace drawinglayer
                 // - Grow the used polygon range by one discrete unit in X and Y. This
                 // will make the decomposition view-dependent.
 
-                // - For all filled polygon renderings, dra wthe polygon outline extra. This
+                // - For all filled polygon renderings, draw the polygon outline extra. This
                 // would lead to unwanted side effects when using concatenated polygons.
 
                 // - At this decomposition, add a filled polygon and a hairline polygon. This
diff --git a/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx b/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx
index 13bf9c6..63d8f7e 100644
--- a/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx
@@ -69,7 +69,7 @@ namespace drawinglayer
                         basegfx::B2DVector aLogicSize(rPixelSize.Width(), rPixelSize.Height());
                         aLogicSize = aInverseViewTransformation * aLogicSize;
 
-                        // apply laout
+                        // apply layout
                         basegfx::B2DPoint aTargetTopLeft(getLocalObjectRange().getMinimum());
                         bool bUseTargetTopLeft(true);
                         bool bNeedsClipping(false);
diff --git a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
index 01e56db..cf20b03 100644
--- a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
@@ -902,7 +902,7 @@ namespace drawinglayer
         {
             const sal_uInt32 nPointCount(rLoopA.count());
 
-            // with idetic polygons there are no outlines
+            // with identic polygons there are no outlines
             if(rLoopA != rLoopB)
             {
                 if(nPointCount && nPointCount == rLoopB.count())
diff --git a/drawinglayer/source/primitive3d/sdrprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrprimitive3d.cxx
index 0a58349..06cfe8b 100644
--- a/drawinglayer/source/primitive3d/sdrprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrprimitive3d.cxx
@@ -43,7 +43,7 @@ namespace drawinglayer
 
                 if(!rLine.isDefault() && !basegfx::fTools::equalZero(rLine.getWidth()))
                 {
-                    // expand by hald LineWidth as tube radius
+                    // expand by held LineWidth as tube radius
                     aUnitRange.grow(rLine.getWidth() / 2.0);
                 }
             }
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 6a4da36..651e406 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -733,7 +733,7 @@ namespace drawinglayer
               Moved to toolkit, so i have to link against it. I tried VCL first, but it did
               not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other then the name
               may imply, it is defined in toolkit (!). Since toolkit is linked against VCL itself,
-              the lowest move,ment plave is toolkit.
+              the lowest movement plane is toolkit.
               Checked form control export, it works well. Done.
 
             - In goodies, in GraphicObject::Draw, when the used Graphic is linked, infos are
@@ -1909,7 +1909,7 @@ namespace drawinglayer
                             }
                             else
                             {
-                                // svae old mfCurrentUnifiedTransparence and set new one
+                                // save old mfCurrentUnifiedTransparence and set new one
                                 // so that contained SvtGraphicStroke may use the current one
                                 const double fLastCurrentUnifiedTransparence(mfCurrentUnifiedTransparence);
                                 // #i105377# paint the content metafile opaque as the transparency gets
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
index 4f1c07f..8794001 100644
--- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
@@ -748,7 +748,7 @@ namespace accessibility
 
             if( i<=aEndIndex.nPara )
             {
-                //if the below condition is mathed it means the endindex is at mid of the last paragraph
+                //if the below condition is matched it means that endindex is at mid of the last paragraph
                 //we need to add a "\n" before we add the last part of the string.
                 if ( !bEnd && aEndIndex.nIndex )
                 {
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx
index 8d381d2..2c7e970 100644
--- a/editeng/source/editeng/eertfpar.cxx
+++ b/editeng/source/editeng/eertfpar.cxx
@@ -487,7 +487,7 @@ SfxStyleSheet* EditRTFParser::CreateStyleSheet( SvxRTFStyleType* pRTFStyle )
 
 void EditRTFParser::CreateStyleSheets()
 {
-    // the SvxRTFParser haa  now created the template...
+    // the SvxRTFParser has now created the template...
     if (mpEditEngine->GetStyleSheetPool() && mpEditEngine->IsImportRTFStyleSheetsSet())
     {
         for (SvxRTFStyleTbl::iterator it = GetStyleTbl().begin(); it != GetStyleTbl().end(); ++it)
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 07720e3..6d1321b 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -3920,7 +3920,7 @@ long ImpEditEngine::GetXPos(
     long nX = GetPortionXOffset( pParaPortion, pLine, nTextPortion );
 
     // calc text width, portion size may include CJK/CTL spacing...
-    // But the array migh not be init yet, if using text ranger this method is called within CreateLines()...
+    // But the array might not be init yet, if using text ranger this method is called within CreateLines()...
     long nPortionTextWidth = pPortion->GetSize().Width();
     if ( ( pPortion->GetKind() == PortionKind::TEXT ) && pPortion->GetLen() && !GetTextRanger() )
         nPortionTextWidth = pLine->GetCharPosArray()[nTextPortionStart + pPortion->GetLen() - 1 - pLine->GetStart()];
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index f5a4449..2cace76 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1800,7 +1800,7 @@ void ImpEditEngine::ImpBreakLine( ParaPortion* pParaPortion, EditLine* pLine, Te
                 nBreakPos = nMaxBreakPos;
             }
 
-            // nBreakPos can never be outside the portion, even not with hangig punctuation
+            // nBreakPos can never be outside the portion, even not with hanging punctuation
             if ( nBreakPos > nMaxBreakPos )
                 nBreakPos = nMaxBreakPos;
         }
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 7d8af23..f107579 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -967,7 +967,7 @@ void ImpEditEngine::WriteItemAsRTF( const SfxPoolItem& rItem, SvStream& rOutput,
             MapMode aPntMode( MAP_POINT );
             long nFontHeight = GetRefDevice()->LogicToLogic(
                     aFont.GetSize(), &GetRefMapMode(), &aPntMode ).Height();
-            nFontHeight *=2;    // HalfP oints
+            nFontHeight *=2;    // Half Points
             sal_uInt16 nProp = static_cast<const SvxEscapementItem&>(rItem).GetProp();
             sal_uInt16 nProp100 = nProp*100;    // For SWG-Token Prop in 100th percent.
             short nEsc = static_cast<const SvxEscapementItem&>(rItem).GetEsc();
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index f8150c8..f7ed0b1 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -460,7 +460,7 @@ SfxItemSet ImpEditEngine::GetAttribs( sal_Int32 nPara, sal_Int32 nStart, sal_Int
                         else
                         {
                             // OptimizeRagnge() assures that not the same attr can follow for full coverage
-                            // only partial, check with current, when using para/styhe, otherwise invalid.
+                            // only partial, check with current, when using para/style, otherwise invalid.
                             if ( !( nFlags & (GetAttribsFlags::PARAATTRIBS|GetAttribsFlags::STYLESHEET) ) ||
                                 ( *rAttr.GetItem() != aAttribs.Get( rAttr.Which() ) ) )
                             {
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index 1195a15..bf2cf17 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -299,7 +299,7 @@ void SvxSpellWrapper::ReplaceAll( const OUString &, sal_Int16 )
 }
 
 void SvxSpellWrapper::InsertHyphen( const sal_Int32 )
-{   // inserting and deleting Hyphae
+{   // inserting and deleting Hyphen
 }
 
 // Testing of the document areas in the order specified by the flags
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index be1bc25..1a9e10b 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -457,7 +457,7 @@ void OutlinerView::Indent( short nDiff )
     if( bUndo )
         pOwner->UndoActionStart( OLUNDO_DEPTH );
 
-    sal_Int16 nMinDepth = -1;   // Optimization: Not to recalculate to manny parargaphs when not really needed.
+    sal_Int16 nMinDepth = -1;   // Optimization: avoid recalculate too many paragraphs if not really needed.
 
     ParaRange aSel = ImpGetSelectedParagraphs( true );
     for ( sal_Int32 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ )


More information about the Libreoffice-commits mailing list