diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-29 17:57:10 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-09-30 07:06:16 +0000 |
commit | a55c2728453c68f44966fc31b4a483416c43b8f3 (patch) | |
tree | 901961671b52cd48b809cff8a1a767c370983dcb /sc | |
parent | 9f6cb675b0b6e3946c191b919cd11d977e2e4e2e (diff) |
Fix typos
Change-Id: Idd4b0f7b6c422abd6790185b5d48082b294bae64
Reviewed-on: https://gerrit.libreoffice.org/18968
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 4 | ||||
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 4 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_pivottable.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_sharedformula.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/attarray.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dpfilteredcache.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/addinlis.cxx | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 28628518b795..7c4fb339760a 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -514,7 +514,7 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape() aAnchor.maStart.SetCol( 5 ); aAnchor.maEnd.SetRow( 3 ); aAnchor.maEnd.SetCol( 7 ); - rDoc.ShowRows(0, 9, 0, true); // show relavent rows + rDoc.ShowRows(0, 9, 0, true); // show relevant rows rDoc.SetDrawPageSize(0); // trigger recalcpos // apply hefty (1 mm) tolerance here, as some opensuse tinderbox diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 3b34990bf221..26d759588216 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -919,7 +919,7 @@ void ScExportTest::testRichTextExportODS() // Set this edit text to cell B2. rDoc.SetEditText(ScAddress(1,1,0), pEE->CreateTextObject()); pEditText = rDoc.GetEditText(ScAddress(1,1,0)); - CPPUNIT_ASSERT_MESSAGE("Incorret B2 value.", aCheckFunc.checkB2(pEditText)); + CPPUNIT_ASSERT_MESSAGE("Incorrect B2 value.", aCheckFunc.checkB2(pEditText)); } // Now, save and reload this document. @@ -932,7 +932,7 @@ void ScExportTest::testRichTextExportODS() ScFieldEditEngine* pEE = &rDoc2.GetEditEngine(); // Make sure the content of B2 is still intact. - CPPUNIT_ASSERT_MESSAGE("Incorret B2 value.", aCheckFunc.checkB2(pEditText)); + CPPUNIT_ASSERT_MESSAGE("Incorrect B2 value.", aCheckFunc.checkB2(pEditText)); // Insert a multi-line content to B4. pEE->Clear(); diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 469abc276288..d391733fd9ed 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -5294,7 +5294,7 @@ void Test::testAreasWithNotes() dataFound = rDoc.GetPrintAreaVer(0,0,1,row, bNotes); // col 0 & 1 CPPUNIT_ASSERT_MESSAGE("No PrintAreaVer should be found", !dataFound); - // now add cells with value, check that notes are taken into accompt in good cases + // now add cells with value, check that notes are taken into account in good cases m_pDoc->SetString(0, 3, 0, "Some Text"); m_pDoc->SetString(3, 3, 0, "Some Text"); @@ -6609,7 +6609,7 @@ void Test::testCopyPasteMatrixFormula() //m_pDoc->SetString(ScAddress(2,1,0), "C2"); // C2 m_pDoc->SetString(ScAddress(3,1,0), "D2"); // D2 - // Set Vallues to D3 + // Set Values to D3 //m_pDoc->SetValue(ScAddress(1,2,0), 9.0); // B3 //m_pDoc->SetString(ScAddress(2,2,0), "C3"); // C3 m_pDoc->SetValue(ScAddress(3,2,0), 11.0); // D3 diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 58d1e6b525f5..c77173097b6f 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -1949,7 +1949,7 @@ void Test::testFormulaRefUpdateMove() CPPUNIT_ASSERT_EQUAL(2.0, m_pDoc->GetValue(0,10,0)); CPPUNIT_ASSERT_EQUAL(3.0, m_pDoc->GetValue(0,11,0)); - // Move B4:B6 to D4 (two columsn to the right). + // Move B4:B6 to D4 (two columns to the right). ScDocFunc& rFunc = getDocShell().GetDocFunc(); bool bMoved = rFunc.MoveBlock(ScRange(1,3,0,1,5,0), ScAddress(3,3,0), true, false, false, false); CPPUNIT_ASSERT_MESSAGE("Failed to move B4:B6.", bMoved); diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx index 96da9337cf4d..1e78f2303778 100644 --- a/sc/qa/unit/ucalc_pivottable.cxx +++ b/sc/qa/unit/ucalc_pivottable.cxx @@ -2124,7 +2124,7 @@ void Test::testFuncGETPIVOTDATA() } aPos = aOutRange.aEnd; - aPos.IncRow(2); // Move 2 rows down from the table outout. + aPos.IncRow(2); // Move 2 rows down from the table output. OUString aPivotPosStr(aOutRange.aStart.Format(SCA_ABS)); diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx index dc2782c70bea..3c1a0e353c07 100644 --- a/sc/qa/unit/ucalc_sharedformula.cxx +++ b/sc/qa/unit/ucalc_sharedformula.cxx @@ -314,7 +314,7 @@ void Test::testSharedFormulasRefUpdate() pFC = m_pDoc->GetFormulaCell(ScAddress(1,2,0)); CPPUNIT_ASSERT_MESSAGE("B3 should be a non-shared formula cell.", pFC && !pFC->IsShared()); - // Delelte cells over A11:B11 to bring it back to the previous state. + // Delete cells over A11:B11 to bring it back to the previous state. m_pDoc->DeleteCol(ScRange(0,10,0,1,10,0)); if (!checkFormula(*m_pDoc, ScAddress(1,0,0), "A10")) diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx index 4c120dfadcb1..38b34d3929a5 100644 --- a/sc/source/core/data/attarray.cxx +++ b/sc/source/core/data/attarray.cxx @@ -1279,7 +1279,7 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const // well it is not true that we found one // but existing one + cell where conditional // formatting does not remove it - // => we should use the existing protection settting + // => we should use the existing protection setting bFoundCond = bFoundTemp; } } diff --git a/sc/source/core/data/dpfilteredcache.cxx b/sc/source/core/data/dpfilteredcache.cxx index eacff34252ff..9c4cdb22c0ea 100644 --- a/sc/source/core/data/dpfilteredcache.cxx +++ b/sc/source/core/data/dpfilteredcache.cxx @@ -366,7 +366,7 @@ void ScDPFilteredCache::filterTable(const vector<Criterion>& rCriteria, Sequence tableData.push_back(row); } - // convert vector to Seqeunce + // convert vector to Sequence sal_Int32 nTabSize = static_cast<sal_Int32>(tableData.size()); rTabData.realloc(nTabSize); for (sal_Int32 i = 0; i < nTabSize; ++i) diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 8fab03dbbf47..d8d586137264 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -3769,7 +3769,7 @@ DynamicKernel::~DynamicKernel() void DynamicKernel::CodeGen() { - // Travese the tree of expression and declare symbols used + // Traverse the tree of expression and declare symbols used const DynamicKernelArgument* DK = mSyms.DeclRefArg<DynamicKernelSoPArguments>(mCalcConfig, mpRoot, new OpNop(mnResultSize), mnResultSize); std::stringstream decl; diff --git a/sc/source/core/tool/addinlis.cxx b/sc/source/core/tool/addinlis.cxx index d0e3c46ef484..69885b8390e3 100644 --- a/sc/source/core/tool/addinlis.cxx +++ b/sc/source/core/tool/addinlis.cxx @@ -93,7 +93,7 @@ void ScAddInListener::RemoveDocument( ScDocument* pDocumentP ) (*iter)->release(); // Ref for aAllListeners - pLst may be deleted here // this AddIn is no longer used - // dont delete, just remove the ref for the list + // don't delete, just remove the ref for the list iter = aAllListeners.erase( iter ); continue; |