summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-19 13:05:24 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-19 15:37:24 +0200
commitdd2b3210127b57ccb1953403a075783faf8c0ae0 (patch)
tree8fc5c3d8c9e741e152839a969176bb8fa0827916 /sc
parentd10e8fb97981d12ff62eddebd4300f21c49a71c6 (diff)
Fix typos
Change-Id: Ibe3cd52117f7f47e1806bde76114cb1644d78763 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100969 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xehelper.cxx2
-rw-r--r--sc/source/filter/excel/xihelper.cxx4
-rw-r--r--sc/source/filter/oox/pagesettings.cxx2
-rw-r--r--sc/source/filter/oox/pivottablebuffer.cxx2
-rw-r--r--sc/source/ui/unoobj/celllistsource.hxx2
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/excel/xehelper.cxx b/sc/source/filter/excel/xehelper.cxx
index 9bb3d905f1e3..532e9187f289 100644
--- a/sc/source/filter/excel/xehelper.cxx
+++ b/sc/source/filter/excel/xehelper.cxx
@@ -1027,7 +1027,7 @@ void XclExpCachedMatrix::Save( XclExpStream& rStrm ) const
// in BIFF2-BIFF7: 256 columns represented by 0 columns
rStrm << static_cast< sal_uInt8 >( nCols ) << static_cast< sal_uInt16 >( nRows );
else
- // in BIFF8: columns and rows decreaed by 1
+ // in BIFF8: columns and rows decreased by 1
rStrm << static_cast< sal_uInt8 >( nCols - 1 ) << static_cast< sal_uInt16 >( nRows - 1 );
for( SCSIZE nRow = 0; nRow < nRows; ++nRow )
diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx
index 8e1c6aecd196..29bc604c7e25 100644
--- a/sc/source/filter/excel/xihelper.cxx
+++ b/sc/source/filter/excel/xihelper.cxx
@@ -375,7 +375,7 @@ void XclImpHFConverter::ParseString( const OUString& rHFString )
mxFontData->mnEscapem = (mxFontData->mnEscapem == EXC_FONTESC_SUPER) ?
EXC_FONTESC_NONE : EXC_FONTESC_SUPER;
break;
- case 'Y': // subsrcipt
+ case 'Y': // subscript
SetAttribs();
mxFontData->mnEscapem = (mxFontData->mnEscapem == EXC_FONTESC_SUB) ?
EXC_FONTESC_NONE : EXC_FONTESC_SUB;
@@ -828,7 +828,7 @@ XclImpCachedMatrix::XclImpCachedMatrix( XclImpStream& rStrm ) :
}
else
{
- // in BIFF8: columns and rows decreaed by 1
+ // in BIFF8: columns and rows decreased by 1
++mnScCols;
++mnScRows;
}
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx
index 8965d78974b7..e47fee274329 100644
--- a/sc/source/filter/oox/pagesettings.cxx
+++ b/sc/source/filter/oox/pagesettings.cxx
@@ -623,7 +623,7 @@ double HeaderFooterParser::parse( const Reference<sheet::XHeaderFooterContent>&
setAttributes();
maFontModel.mnEscapement = (maFontModel.mnEscapement == XML_superscript) ? XML_baseline : XML_superscript;
break;
- case 'Y': // subsrcipt
+ case 'Y': // subscript
setAttributes();
maFontModel.mnEscapement = (maFontModel.mnEscapement == XML_subscript) ? XML_baseline : XML_subscript;
break;
diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx
index 2717fff2a610..6469f8da70be 100644
--- a/sc/source/filter/oox/pivottablebuffer.cxx
+++ b/sc/source/filter/oox/pivottablebuffer.cxx
@@ -378,7 +378,7 @@ void PivotTableField::importPTReferenceItem( SequenceInputStream& rStrm )
void PivotTableField::finalizeImport( const Reference< XDataPilotDescriptor >& rxDPDesc )
{
/* Process all fields based on source data, other fields (e.g. group
- fields) are processed from here. PivotCacahe::getDatabaseIndex()
+ fields) are processed from here. PivotCache::getCacheDatabaseIndex()
returns -1 for all fields not based on source data. */
Reference< XDataPilotField > xDPField;
sal_Int32 nDatabaseIdx = mrPivotTable.getCacheDatabaseIndex( mnFieldIndex );
diff --git a/sc/source/ui/unoobj/celllistsource.hxx b/sc/source/ui/unoobj/celllistsource.hxx
index 7a09e42cc9db..b665d2cdb767 100644
--- a/sc/source/ui/unoobj/celllistsource.hxx
+++ b/sc/source/ui/unoobj/celllistsource.hxx
@@ -130,7 +130,7 @@ namespace calc
css::table::CellRangeAddress
getRangeAddress( ) const;
- /** retrievs the text of a cell within our range
+ /** retrieves the text of a cell within our range
@param _nRangeRelativeRow
the relative row index of the cell within our range
@param pAny
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 65f2a240d117..de864ebddf69 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -1744,7 +1744,7 @@ void ScStyleObj::setPropertyValue_Impl( const OUString& rPropertyName, const Sfx
ScDocument& rDoc = pDocShell->GetDocument();
if ( eFamily == SfxStyleFamily::Para )
{
- // If we are loading, we can delay line height calculcation, because we are going to re-calc all of those
+ // If we are loading, we can delay line height calculation, because we are going to re-calc all of those
// after load.
if (pDocShell && !pDocShell->IsLoading())
{