[Libreoffice-commits] core.git: filter/source framework/inc framework/source include/comphelper odk/examples sc/source sw/source unotools/source vcl/unx

Andrea Gelmini andrea.gelmini at gelma.net
Tue Mar 6 08:42:28 UTC 2018


 filter/source/config/cache/filtercache.cxx                                                   |    6 ++--
 filter/source/config/cache/filtercache.hxx                                                   |   14 +++++-----
 framework/inc/jobs/helponstartup.hxx                                                         |    2 -
 framework/inc/jobs/jobdata.hxx                                                               |    8 ++---
 framework/source/services/autorecovery.cxx                                                   |    4 +-
 framework/source/services/pathsettings.cxx                                                   |    4 +-
 include/comphelper/base64.hxx                                                                |    2 -
 odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java |    2 -
 sc/source/ui/unoobj/cellsuno.cxx                                                             |    6 ++--
 sw/source/filter/ww8/ww8graf2.cxx                                                            |    2 -
 unotools/source/config/moduleoptions.cxx                                                     |    4 +-
 vcl/unx/gtk/salprn-gtk.cxx                                                                   |    2 -
 12 files changed, 28 insertions(+), 28 deletions(-)

New commits:
commit 240e67e37e1aaf459315e31a298bfb434fc1da8c
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Mon Mar 5 21:20:27 2018 +0100

    Fix typos
    
    Change-Id: I005023337dbe593e0ac1d76f7b10848d24f314a5
    Reviewed-on: https://gerrit.libreoffice.org/50785
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index f56186ac0cde..e9b810b78a5b 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -438,7 +438,7 @@ void FilterCache::setItem(      EItemType        eType ,
     aItem.validateUINames(m_sActLocale);
 
     // remove implicit properties as e.g. FINALIZED or MANDATORY
-    // They can't be saved here and must be readed on demand later, if they are needed.
+    // They can't be saved here and must be read on demand later, if they are needed.
     removeStatePropsFromItem(aItem);
 
     rList[sItem] = aItem;
@@ -950,7 +950,7 @@ void FilterCache::impl_validateAndOptimize()
     // SAFE ->
     ::osl::ResettableMutexGuard aLock(m_aLock);
 
-    // First check if any filter or type could be readed
+    // First check if any filter or type could be read
     // from the underlying configuration!
     bool bSomeTypesShouldExist   = ((m_eFillState & E_CONTAINS_STANDARD       ) == E_CONTAINS_STANDARD       );
     bool bAllFiltersShouldExist  = ((m_eFillState & E_CONTAINS_FILTERS        ) == E_CONTAINS_FILTERS        );
@@ -1364,7 +1364,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
     // update fill state. Note: it's a bit field, which combines different parts.
     m_eFillState = static_cast<EFillState>(static_cast<sal_Int32>(m_eFillState) | static_cast<sal_Int32>(eRequiredState));
 
-    // any data readed?
+    // any data read?
     // yes! => validate it and update optimized structures.
     impl_validateAndOptimize();
 
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index 78339a26b8c1..033e12a05093 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -87,11 +87,11 @@ class FilterCache : public BaseLock
 
             @descr      This cache supports a 2-step load mechanism.
                         First only types (and only some special properties of every type!)
-                        but no filters/frame loaders/content handlers will be readed.
+                        but no filters/frame loaders/content handlers will be read.
                         That should be enough to work with this cache e.g. for loading
                         the first document. After this first document was loaded successfully,
                         a special "load-on-demand-thread" will be started to fill this cache
-                        with ALL other information, which was not readed before.
+                        with ALL other information, which was not read before.
                         That's the second step. All operations on top of this cache will be
                         blocked then.
          */
@@ -112,7 +112,7 @@ class FilterCache : public BaseLock
 
 
         /** @short      regulate, which properties of a configured item
-                        will be readed.
+                        will be read.
 
             @descr      To perform reading of all configuration items,
                         only standard properties will be handled. At a second
@@ -304,7 +304,7 @@ class FilterCache : public BaseLock
         /** @short      force special fill state of this cache.
 
             @descr      This method checks, if all requested items/properties already
-                        exist. Only missing information will be readed.
+                        exist. Only missing information will be read.
                         Otherwise this method does nothing!
 
                         This method must be called from every user of this cache
@@ -663,7 +663,7 @@ class FilterCache : public BaseLock
                         expensive one.
 
             @param      sDirectKey
-                        the absolute configuration path, which should be readed.
+                        the absolute configuration path, which should be read.
 
             @return     [css::uno::Any]
                         the value of the requested key.
@@ -675,7 +675,7 @@ class FilterCache : public BaseLock
 
         /** @short      load the underlying configuration into this cache.
 
-            @descr      Which items should be readed can be regulate by the
+            @descr      Which items should be read can be regulate by the
                         parameter eRequiredState. That provides the possibility
                         to load standard values on startup only and update this
                         cache later on demand with all available information.
@@ -749,7 +749,7 @@ class FilterCache : public BaseLock
                     provides access to the configuration set, which includes all items.
 
             @param  eType
-                    specify, which container item type must be readed.
+                    specify, which container item type must be read.
 
             @param  sItem
                     means the internal name, which can be used to address the item
diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx
index 1fc65b4dd6f6..641e89e299d1 100644
--- a/framework/inc/jobs/helponstartup.hxx
+++ b/framework/inc/jobs/helponstartup.hxx
@@ -144,7 +144,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css
         /** @short  checks, if the help module should be shown automatically for the
                     currently opened office module.
 
-            @descr  This value is readed from the module configuration.
+            @descr  This value is read from the module configuration.
                     In case the help should be shown, this method returns
                     a help URL, which can be used to show the right help content.
 
diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx
index 97ba371b5387..1b5ec7c41dc6 100644
--- a/framework/inc/jobs/jobdata.hxx
+++ b/framework/inc/jobs/jobdata.hxx
@@ -137,13 +137,13 @@ class JobData final
 
         /**
             the uno implementation name of this job.
-            It's readed from the configuration. Don't set it from outside!
+            It's read from the configuration. Don't set it from outside!
          */
         OUString m_sService;
 
         /**
             the module context list of this job.
-            It's readed from the configuration. Don't set it from outside!
+            It's read from the configuration. Don't set it from outside!
          */
         OUString m_sContext;
 
@@ -159,8 +159,8 @@ class JobData final
         OUString m_sEvent;
 
         /**
-            job specific configuration items ... unknown for us!
-            It's readed from the configuration. Don't set it from outside!
+            job specific configuration items... unknown for us!
+            It's read from the configuration. Don't set it from outside!
          */
         std::vector< css::beans::NamedValue > m_lArguments;
 
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index a7698055e9e5..227c34f7bc7a 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -547,7 +547,7 @@ private:
                 - which recovery entries may already exists
 
         @throw  [com.sun.star.uno.RuntimeException]
-                if config could not be opened or readed successfully!
+                if config could not be opened or read successfully!
 
         @threadsafe
       */
@@ -560,7 +560,7 @@ private:
                 E.g. the recovery list is not addressed here.
 
         @throw  [com.sun.star.uno.RuntimeException]
-                if config could not be opened or readed successfully!
+                if config could not be opened or read successfully!
 
         @threadsafe
       */
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index 4122292f37b5..2ccbb899a03a 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -1402,8 +1402,8 @@ css::uno::Reference< css::util::XStringSubstitution > PathSettings::fa_getSubsti
     if (! xSubst.is())
     {
         // create the needed substitution service.
-        // We must replace all used variables inside readed path values.
-        // In case we can't do so ... the whole office can't work really.
+        // We must replace all used variables inside read path values.
+        // In case we can't do so... the whole office can't work really.
         // That's why it seems to be OK to throw a RuntimeException then.
         xSubst = css::util::PathSubstitution::create(m_xContext);
 
diff --git a/include/comphelper/base64.hxx b/include/comphelper/base64.hxx
index 302b0ab51d09..3452094e72d7 100644
--- a/include/comphelper/base64.hxx
+++ b/include/comphelper/base64.hxx
@@ -38,7 +38,7 @@ public:
     // Decode a base 64 encoded string into a sequence of bytes. The first
     // version can be used for attribute values only, because it does not
     // return any chars left from conversion.
-    // For text submitted throgh the SAX characters call, the later method
+    // For text submitted through the SAX characters call, the later method
     // must be used!
     static void decode(css::uno::Sequence<sal_Int8>& aPass, const OUString& sBuffer);
 
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index cc4d5c5eafc1..21dca2ec4c6e 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -456,7 +456,7 @@ public class AsciiReplaceFilter
 
                 // copy current buffer to the document model.
                 // Create a new paragraph for every line inside original file.
-                // May not all data could be readed - but that doesn't matter here.
+                // May not all data could be read - but that doesn't matter here.
                 // Reason: somewhere cancelled this function.
                 // But check for optional replace request before...
                 int nStart  =  0;
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index a22b16ee5467..dad666ff6b02 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2535,7 +2535,7 @@ void ScCellRangesBase::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pE
                 case SC_WID_UNO_TBLBORD:
                 case SC_WID_UNO_TBLBORD2:
                     {
-                        //! loop throgh all ranges
+                        //! loop through all ranges
                         if ( !aRanges.empty() )
                         {
                             const ScRange* pFirst = aRanges[ 0 ];
@@ -3439,7 +3439,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryVisibleC
         while (nCol <= MAXCOL)
         {
             if (rDoc.ColHidden(nCol, nTab, nullptr, &nLastCol))
-                // hidden columns.  Unselect them.
+                // hidden columns.  Deselect them.
                 aMarkData.SetMultiMarkArea(ScRange(nCol, 0, nTab, nLastCol, MAXROW, nTab), false);
 
             nCol = nLastCol + 1;
@@ -3449,7 +3449,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryVisibleC
         while (nRow <= MAXROW)
         {
             if (rDoc.RowHidden(nRow, nTab, nullptr, &nLastRow))
-                // These rows are hidden.  Unselect them.
+                // These rows are hidden.  Deselect them.
                 aMarkData.SetMultiMarkArea(ScRange(0, nRow, nTab, MAXCOL, nLastRow, nTab), false);
 
             nRow = nLastRow + 1;
diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx
index 023aaabf173f..7e634e5114fe 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -432,7 +432,7 @@ SwFrameFormat* SwWW8ImplReader::ImportGraf1(WW8_PIC const & rPic, SvStream* pSt,
     if (!bOk)
     {
         delete pGraph;
-        return nullptr;                       // Graphic could not be readed correctly
+        return nullptr;                       // Graphic could not be read correctly
     }
 
     WW8PicDesc aPD( rPic );
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 1e3bcaf5b32d..7bfcede60714 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -675,13 +675,13 @@ bool SvtModuleOptions_Impl::ClassifyFactoryByName( const OUString& sName, SvtMod
 /*-************************************************************************************************************
     @short      read factory configuration
     @descr      Give us a list of pure factory names (long names!) which can be used as
-                direct set node names ... and we read her property values and fill internal list.
+                direct set node names... and we read her property values and fill internal list.
                 These method can be used by initial reading at ctor and later updating by "Notify()".
 
     @seealso    ctor
     @seealso    method Notify()
 
-    @param      "lFactories" is the list of set node entries which should be readed.
+    @param      "lFactories" is the list of set node entries which should be read.
     @onerror    We do nothing.
     @threadsafe no
 *//*-*************************************************************************************************************/
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx
index a7ad04c8d6c7..24fa36ed96f6 100644
--- a/vcl/unx/gtk/salprn-gtk.cxx
+++ b/vcl/unx/gtk/salprn-gtk.cxx
@@ -939,7 +939,7 @@ GtkPrintDialog::impl_readFromSettings()
         bChanged = true;
         m_xWrapper->print_settings_set_collate(pSettings, bCollate);
     }
-    // TODO: wth was this var. meant for?
+    // TODO: what was this variable meant for?
     (void) bChanged;
 
     m_xWrapper->print_unix_dialog_set_settings(GTK_PRINT_UNIX_DIALOG(m_pDialog), pSettings);


More information about the Libreoffice-commits mailing list