sc/qa/unit/ucalc.cxx | 2 +- sc/qa/unit/uicalc/uicalc.cxx | 2 +- sc/source/core/data/document.cxx | 4 ++-- vcl/source/control/button.cxx | 2 +- vcl/source/outdev/map.cxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 5d172408dffd3e6f4b76254f0980b0fd1210bb2f Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Fri Apr 23 22:33:48 2021 +0200 Commit: Andrea Gelmini <andrea.gelm...@gelma.net> CommitDate: Sat Apr 24 07:59:03 2021 +0200 Fix typos Change-Id: I0a8279429c9e0d884a5e8fbb8f22617832385a53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114574 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins 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(), diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index bda053a97787..b08cc9772d62 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -2020,7 +2020,7 @@ void Button::ImplDrawRadioCheck(OutputDevice* pDev, WinBits nWinStyle, DrawFlags // is pixel-oriented (all Paints of Controls are, historically), so // the minimum width should be '1' Pixel. // Hint: nImageSep is based on Zoom (using Window::CalcZoom) and - // MapModes (using Window::GetDrawPixel) - so potenially a wide range + // MapModes (using Window::GetDrawPixel) - so potentially a wide range // of unpredictable values is possible const tools::Long nWidthAdjust(rImageSize.Width() + nImageSep); aSize.setWidth(std::max(static_cast<tools::Long>(1), aSize.getWidth() - nWidthAdjust)); diff --git a/vcl/source/outdev/map.cxx b/vcl/source/outdev/map.cxx index e8f9d0dd7df2..4761062c820c 100644 --- a/vcl/source/outdev/map.cxx +++ b/vcl/source/outdev/map.cxx @@ -389,7 +389,7 @@ tools::Rectangle OutputDevice::ImplLogicToDevicePixel( const tools::Rectangle& r // tools::Long(1) == aRect.GetWidth() // tools::Long(0) == aRect.getWidth() // (remember: this means Left == Right == 1 -> GetWidth => 1, getWidth == 0) - // so indeed tthe 1's have to go uncommened/unchecked into the data body + // so indeed the 1's have to go uncommented/unchecked into the data body // of rectangle. Switching to (2) *is* needed, doing so tools::Rectangle aRetval; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits