summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-04-23 22:33:48 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2021-04-24 07:59:03 +0200
commit5d172408dffd3e6f4b76254f0980b0fd1210bb2f (patch)
tree80cc2378f0ce4d6abfd58a8e792a6da8644e6057 /sc
parentb38fd085608a44cf3a2d181e2720c758356647d7 (diff)
Fix typos
Change-Id: I0a8279429c9e0d884a5e8fbb8f22617832385a53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114574 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rwxr-xr-xsc/qa/unit/ucalc.cxx2
-rwxr-xr-xsc/qa/unit/uicalc/uicalc.cxx2
-rwxr-xr-xsc/source/core/data/document.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 02988bdd5ff4..f03c8fe073d8 100755
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -4170,7 +4170,7 @@ void Test::testCopyPasteSpecialMultiRangeRowAsLinkFilteredTranspose()
rEntry.bDoQuery = true;
rEntry.nField = 0;
rEntry.eOp = SC_GREATER_EQUAL;
- rEntry.GetQueryItem().mfVal = 0; // filtering neative values -> filtering row 1 and 2
+ rEntry.GetQueryItem().mfVal = 0; // filtering negative values -> filtering row 1 and 2
// add queryParam to database range.
pDBData->SetQueryParam(aParam);
diff --git a/sc/qa/unit/uicalc/uicalc.cxx b/sc/qa/unit/uicalc/uicalc.cxx
index c756a75065a5..29417a3c4778 100755
--- a/sc/qa/unit/uicalc/uicalc.cxx
+++ b/sc/qa/unit/uicalc/uicalc.cxx
@@ -465,7 +465,7 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf117706)
CPPUNIT_ASSERT_EQUAL(OUString(""), pDoc->GetString(ScAddress(0, 2, 0)));
}
-// Inspired from testTdf117706, test columns instad of rows
+// Inspired from testTdf117706, test columns instead of rows
CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testMultiRangeCol)
{
mxComponent = loadFromDesktop("private:factory/scalc");
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 108c07e03705..89322ceb2cdf 100755
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -2354,8 +2354,8 @@ void ScDocument::TransposeClip(ScDocument* pTransClip, InsertDeleteFlags nFlags,
// and selection are in the same dimension (i.e. row).
// The filtered row status and the selection ranges are not available at the same time,
// handle this case specially, do not use GetClipParam().getWholeRange(),
- // instead loop through the ranges, calculate the row offest and handle filtered rows and
- // create in ScClipParam::transpose() an unified range.
+ // instead loop through the ranges, calculate the row offset and handle filtered rows and
+ // create in ScClipParam::transpose() a unified range.
bool bIsMultiRangeRowFilteredTranspose
= !bIncludeFiltered && GetClipParam().isMultiRange()
&& HasFilteredRows(aCombinedClipRange.aStart.Row(), aCombinedClipRange.aEnd.Row(),