[Libreoffice-commits] core.git: sc/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 09:25:59 UTC 2019


 sc/source/core/tool/scmatrix.cxx         |    2 +-
 sc/source/filter/excel/read.cxx          |    2 +-
 sc/source/filter/excel/xeformula.cxx     |    4 ++--
 sc/source/filter/excel/xelink.cxx        |    4 ++--
 sc/source/filter/excel/xepivotxml.cxx    |    2 +-
 sc/source/filter/html/htmlpars.cxx       |    2 +-
 sc/source/filter/inc/htmlpars.hxx        |    2 +-
 sc/source/filter/inc/scenariobuffer.hxx  |    4 ++--
 sc/source/filter/inc/sheetdatabuffer.hxx |    2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 7c19bca8332b301559fe6b1db664c94adff908e6
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 18:52:04 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 11:24:57 2019 +0200

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

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 0291c84a04d7..04660abe195c 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -3308,7 +3308,7 @@ struct COp<T, double>
 
 /** A template for operations where operands are supposed to be numeric.
     A non-numeric (string) operand leads to the configured conversion to number
-    method being called if in interpreter context and an FormulaError::NoValue DoubleError
+    method being called if in interpreter context and a FormulaError::NoValue DoubleError
     if conversion was not possible, else to an unconditional FormulaError::NoValue
     DoubleError.
     An empty operand evaluates to 0.
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index 1cbaa761cac8..6e5cfeb16b56 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -1248,7 +1248,7 @@ ErrCode ImportExcel8::Read()
 
     if( eLastErr == ERRCODE_NONE )
     {
-        // In some strange circumstances a the codename might be missing
+        // In some strange circumstances the codename might be missing
         // # Create any missing Sheet CodeNames
         for ( const auto& rTab : nTabsWithNoCodeName )
         {
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index cbc1ec652890..57c2d71585ca 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -69,8 +69,8 @@ struct XclExpScToken
 enum XclExpClassConv
 {
     EXC_CLASSCONV_ORG,          /// Keep original class of the token.
-    EXC_CLASSCONV_VAL,          /// Convert ARR tokens to VAL class (REF remains uncahnged).
-    EXC_CLASSCONV_ARR           /// Convert VAL tokens to ARR class (REF remains uncahnged).
+    EXC_CLASSCONV_VAL,          /// Convert ARR tokens to VAL class (REF remains unchanged).
+    EXC_CLASSCONV_ARR           /// Convert VAL tokens to ARR class (REF remains unchanged).
 };
 
 /** Token class conversion and position of a token in the token array. */
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 6767324d74cb..6f82b438b3b0 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -360,7 +360,7 @@ private:
 
     XclExpXctList       maXctList;      /// List of XCT records (which contain CRN records).
     OUString            maUrl;          /// URL of the external document or application name for DDE.
-    OUString            maDdeTopic;     /// Topic of an DDE link.
+    OUString            maDdeTopic;     /// Topic of a DDE link.
     XclExpString        maUrlEncoded;   /// Document name encoded for Excel.
     XclSupbookType      meType;         /// Type of this SUPBOOK record.
     sal_uInt16          mnXclTabCount;  /// Number of internal sheets.
@@ -1354,7 +1354,7 @@ bool XclExpXct::BuildCrnList( XclExpCrnList& rCrnRecs )
     /*  Build and collect all CRN records before writing the XCT record. This
         is needed to determine the total number of CRN records which must be
         known when writing the XCT record (possibly encrypted, so seeking the
-        output strem back after writing the CRN records is not an option). */
+        output stream back after writing the CRN records is not an option). */
     SvNumberFormatter& rFormatter = GetFormatter();
     bool bValid = true;
     for( SCROW nScRow = nScRow1; bValid && (nScRow <= nScRow2); ++nScRow )
diff --git a/sc/source/filter/excel/xepivotxml.cxx b/sc/source/filter/excel/xepivotxml.cxx
index 57abfd60b3b7..eaee25d916c5 100644
--- a/sc/source/filter/excel/xepivotxml.cxx
+++ b/sc/source/filter/excel/xepivotxml.cxx
@@ -664,7 +664,7 @@ struct DataField
     DataField( long nPos, const ScDPSaveDimension* pDim ) : mnPos(nPos), mpDim(pDim) {}
 };
 
-/** Returns a OOXML subtotal function name string. See ECMA-376-1:2016 18.18.43 */
+/** Returns an OOXML subtotal function name string. See ECMA-376-1:2016 18.18.43 */
 OString GetSubtotalFuncName(ScGeneralFunction eFunc)
 {
     switch (eFunc)
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index ac5be7afee71..3b82ff4732bf 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -1694,7 +1694,7 @@ void ScHTMLEntry::Strip( const EditEngine& rEditEngine )
 
     Organizes the tables with a unique table key. Stores nested tables inside
     the parent table and forms in this way a tree structure of tables. An
-    instance of this class ownes the contained table objects and deletes them
+    instance of this class owns the contained table objects and deletes them
     on destruction.
  */
 class ScHTMLTableMap final
diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx
index 1f5ef2a9a8ae..36801bba7fb2 100644
--- a/sc/source/filter/inc/htmlpars.hxx
+++ b/sc/source/filter/inc/htmlpars.hxx
@@ -468,7 +468,7 @@ private:
     /** Tries to insert the entry into the current cell.
         @descr  If insertion is not possible (i.e., currently no cell open), the
         entry will be inserted into the parent table.
-        @return  true = Entry as been pushed into the current cell; false = Entry dropped. */
+        @return  true = Entry has been pushed into the current cell; false = Entry dropped. */
     bool                PushEntry( ScHTMLEntryPtr& rxEntry );
     /** Puts the current entry into the entry list, if it is not empty.
         @param rInfo  The import info struct containing the end position of the current entry.
diff --git a/sc/source/filter/inc/scenariobuffer.hxx b/sc/source/filter/inc/scenariobuffer.hxx
index 7beca1ddb0c0..f63cee7bf709 100644
--- a/sc/source/filter/inc/scenariobuffer.hxx
+++ b/sc/source/filter/inc/scenariobuffer.hxx
@@ -59,12 +59,12 @@ public:
 
     /** Imports a scenario definition from a scenario element. */
     void                importScenario( const AttributeList& rAttribs );
-    /** Imports a new cell for this scenario from a inputCells element. */
+    /** Imports a new cell for this scenario from an inputCells element. */
     void                importInputCells( const AttributeList& rAttribs );
 
     /** Imports a scenario definition from a SCENARIO record. */
     void                importScenario( SequenceInputStream& rStrm );
-    /** Imports a new cell for this scenario from a INPUTCELLS record. */
+    /** Imports a new cell for this scenario from an INPUTCELLS record. */
     void                importInputCells( SequenceInputStream& rStrm );
 
     /** Creates the scenario in the Calc document. */
diff --git a/sc/source/filter/inc/sheetdatabuffer.hxx b/sc/source/filter/inc/sheetdatabuffer.hxx
index 3b4354421b5b..2c6137d24a48 100644
--- a/sc/source/filter/inc/sheetdatabuffer.hxx
+++ b/sc/source/filter/inc/sheetdatabuffer.hxx
@@ -120,7 +120,7 @@ public:
     void                setErrorCell( const CellModel& rModel, sal_uInt8 nErrorCode );
     /** Inserts a formula cell into the sheet. */
     void                setFormulaCell( const CellModel& rModel, const ApiTokenSequence& rTokens );
-    /** Inserts a ISO 8601 date cell into the sheet. */
+    /** Inserts an ISO 8601 date cell into the sheet. */
     void                setDateCell( const CellModel& rModel, const OUString& rDateString );
 
     void                createSharedFormula(


More information about the Libreoffice-commits mailing list