diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-24 12:45:11 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-03-25 16:59:43 +0000 |
commit | ad4104090de1cb07fb82bb40c736271103e4ed69 (patch) | |
tree | c6fb33cac17dcfa276cb86bbb476219ca93f0bf0 /sc/source | |
parent | 3c8efc29d6c0fd3c8d819cc38c2fa0c4385cbfb6 (diff) |
Fix typos
Change-Id: Ia17fe891f8a681ada69639ca579ebf6d6d781759
Reviewed-on: https://gerrit.libreoffice.org/35641
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/dociter.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/documen3.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/opencl/op_spreadsheet.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/chartpos.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/formulaopt.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr3.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr5.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr8.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/excel/xichart.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xihelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/scflt.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/xiescher.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/pivotcachebuffer.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/pivotsource.hxx | 2 |
16 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx index a223b48a52cd..c0d534d25073 100644 --- a/sc/source/core/data/dociter.cxx +++ b/sc/source/core/data/dociter.cxx @@ -2076,7 +2076,7 @@ bool ScHorizontalCellIterator::SkipInvalidInRow() } else { - debugiter("advanced column %d to block starting row %d, retying\n", + debugiter("advanced column %d to block starting row %d, retrying\n", (int)maColPos->mnCol, r.maPos->position); } } diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index bbece70341f4..413cc8687c24 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -463,7 +463,7 @@ void ScDocument::GetScenarioFlags( SCTAB nTab, ScScenarioFlags& rFlags ) const bool ScDocument::IsLinked( SCTAB nTab ) const { return ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] && maTabs[nTab]->IsLinked(); - // euqivalent to + // equivalent to //if (ValidTab(nTab) && pTab[nTab]) // return pTab[nTab]->IsLinked(); //return false; diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index ec26a6942f67..80179ae9aaac 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -1593,7 +1593,7 @@ void ScFormulaCell::Interpret() // Mark older cells dirty again, in case they converted // without accounting for all remaining cells in the circle // that weren't touched so far, e.g. conditional. Restore - // backuped result. + // backupped result. sal_uInt16 nIteration = rRecursionHelper.GetIteration(); for (ScFormulaRecursionList::const_iterator aIter( aOldStart); aIter != diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 25f81d0d4cac..f1c51306e3d4 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -808,7 +808,7 @@ public: *p, mrClipTab.GetDoc(), getDestPos(nRow), ScCloneFlags::StartListening); // rotate reference - // for Cut, the referneces are later adjusted through UpdateTranspose + // for Cut, the references are later adjusted through UpdateTranspose if (!mbWasCut) pNew->TransposeReference(); diff --git a/sc/source/core/opencl/op_spreadsheet.cxx b/sc/source/core/opencl/op_spreadsheet.cxx index 243d2993bca3..02acb8dce248 100644 --- a/sc/source/core/opencl/op_spreadsheet.cxx +++ b/sc/source/core/opencl/op_spreadsheet.cxx @@ -45,7 +45,7 @@ void OpVLookup::GenSlidingWindowFunction(std::stringstream &ss, CheckSubArgumentIsNan(ss,vSubArguments,arg++); int secondParaWidth = 1; - // tdf#99512 - for now only allow non-dynamic indicees (the + // tdf#99512 - for now only allow non-dynamic indices (the // common-case) to validate consistent return types vs. the input. int index = 0; int indexArg = vSubArguments.size() - 2; diff --git a/sc/source/core/tool/chartpos.cxx b/sc/source/core/tool/chartpos.cxx index 7d820e437658..5ab46a12e6a2 100644 --- a/sc/source/core/tool/chartpos.cxx +++ b/sc/source/core/tool/chartpos.cxx @@ -366,7 +366,7 @@ void ScChartPositioner::CreatePositionMap() pR->GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); for ( nTab = nTab1; nTab <= nTab2; nTab++ ) { - // nTab in ColKey to allow to have the same col/row in another tabe + // nTab in ColKey to allow to have the same col/row in another table sal_uLong nInsCol = (static_cast<sal_uLong>(nTab) << 16) | (bNoGlue ? 0 : static_cast<sal_uLong>(nCol1)); for ( nCol = nCol1; nCol <= nCol2; ++nCol, ++nInsCol ) diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index 4430b73db826..fd1d456fc5e2 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -273,7 +273,7 @@ void ScFormulaCfg::UpdateFromProperties( const Sequence<OUString>& aNames ) do { if (!(pValues[nProp] >>= nIntVal)) - // extractino failed. + // extracting failed. break; switch (nIntVal) diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index bef7725393c0..e2d9d2f8c1ff 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -1801,7 +1801,7 @@ void ScInterpreter::ScPoissonDist( bool bODFF ) } else { - if (x >= 936.0) // result is always undistinghable from 1 + if (x >= 936.0) // result is always indistinguishable from 1 PushDouble (1.0); else { diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx index 574273417fb6..491c90388e12 100644 --- a/sc/source/core/tool/interpr5.cxx +++ b/sc/source/core/tool/interpr5.cxx @@ -649,7 +649,7 @@ static int lcl_LUP_decompose( ScMatrix* mA, const SCSIZE n, // Represent identity permutation, P[i]=i for (SCSIZE i=0; i < n; ++i) P[i] = i; - // "Recursion" on the diagonale. + // "Recursion" on the diagonal. SCSIZE l = n - 1; for (SCSIZE k=0; k < l; ++k) { diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index 28a91fc08f0e..3c3ace2fb8d9 100644 --- a/sc/source/core/tool/interpr8.cxx +++ b/sc/source/core/tool/interpr8.cxx @@ -90,7 +90,7 @@ private: double mfRMSE; // root mean squared error (standard deviation) double mfSMAPE; // symmetric mean absolute error FormulaError mnErrorValue; - bool bAdditive; // true: additive method, false: mulitplicative method + bool bAdditive; // true: additive method, false: multiplicative method bool bEDS; // true: EDS, false: ETS // constants used in determining best fit for alpha, beta, gamma @@ -391,7 +391,7 @@ bool ScETSForecastCalculation::PreprocessDataRange( const ScMatrixRef& rMatX, co bool ScETSForecastCalculation::initData( ) { - // give variuous vectors size and initial value + // give various vectors size and initial value mpBase = new double[ mnCount ]; mpTrend = new double[ mnCount ]; if ( !bEDS ) diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index d7fb26f5a7f0..4f178d716425 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -3029,7 +3029,7 @@ void XclImpChLabelRange::ConvertAxisPosition( ScfPropertySet& rPropSet, bool b3d /* Crossing position value depends on base time unit, it specifies the number of days, months, or years from null date. Note that Excel 2007/2010 write broken BIFF8 files, they always stores the number - of days cregardless of the base time unit (and they are reading it + of days regardless of the base time unit (and they are reading it the same way, thus wrongly displaying files written by Excel 97-2003). This filter sticks to the correct behaviour of Excel 97-2003. */ diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx index 20f5e33dd256..11655d5a1fb6 100644 --- a/sc/source/filter/excel/xihelper.cxx +++ b/sc/source/filter/excel/xihelper.cxx @@ -299,7 +299,7 @@ void XclImpHFConverter::ParseString( const OUString& rHFString ) } eState = xlPSText; const sal_Unicode* pChar = rHFString.getStr(); - const sal_Unicode* pNull = pChar + rHFString.getLength(); // pointer to teminating null char + const sal_Unicode* pNull = pChar + rHFString.getLength(); // pointer to terminating null char while( *pChar ) { switch( eState ) diff --git a/sc/source/filter/inc/scflt.hxx b/sc/source/filter/inc/scflt.hxx index f1d74a93ec51..bff355c044ba 100644 --- a/sc/source/filter/inc/scflt.hxx +++ b/sc/source/filter/inc/scflt.hxx @@ -507,7 +507,7 @@ struct Sc10ImageHeader // ChartHeader struct Sc10ChartHeader { - sal_Int16 MM; // Meatfile structure MapMode, Width, Hight + sal_Int16 MM; // Metafile structure MapMode, width, height sal_Int16 xExt; sal_Int16 yExt; sal_uInt32 Size; // image size in BYTES diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx index 185ee9a3f388..b564a8e26e71 100644 --- a/sc/source/filter/inc/xiescher.hxx +++ b/sc/source/filter/inc/xiescher.hxx @@ -258,7 +258,7 @@ protected: protected: XclImpDrawObjVector maChildren; /// Grouped objects. - sal_uInt16 mnFirstUngrouped; /// Object identfier of first object not grouped into this group. + sal_uInt16 mnFirstUngrouped; /// Object identifier of first object not grouped into this group. }; /** A line object. */ diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx index 4c6b27fa4114..088a6a6d1478 100644 --- a/sc/source/filter/oox/pivotcachebuffer.cxx +++ b/sc/source/filter/oox/pivotcachebuffer.cxx @@ -646,7 +646,7 @@ OUString PivotCacheField::createParentGroupField( const Reference< XDataPilotFie { if ( const PivotCacheItem* pItem = rBaseCacheField.getCacheItems().getCacheItem( aIt - aBeg ) ) { - // Skip unspecified or ununsed entries or errors + // Skip unspecified or unused entries or errors if ( pItem->isUnused() || ( pItem->getType() == XML_m ) || ( pItem->getType() == XML_e ) ) continue; } diff --git a/sc/source/filter/xml/pivotsource.hxx b/sc/source/filter/xml/pivotsource.hxx index 83136164d120..ed4a40b01263 100644 --- a/sc/source/filter/xml/pivotsource.hxx +++ b/sc/source/filter/xml/pivotsource.hxx @@ -20,7 +20,7 @@ namespace sc { /** - * Store pivot table data that need to be post-processeed at the end of the + * Store pivot table data that need to be post-processed at the end of the * import. */ struct PivotTableSources |