From df31e72e5827a2d1d8e5206bee199a1de125d27d Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 21 Jul 2022 14:34:39 +0200 Subject: [PATCH] Fix typos Change-Id: I62b11b80e4d3d2a8bd4c461804f39d8da6a58066 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137298 Tested-by: Jenkins Reviewed-by: Julien Nabet --- lotuswordpro/qa/cppunit/import_test.cxx | 4 ++-- sw/source/uibase/uiview/view.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lotuswordpro/qa/cppunit/import_test.cxx b/lotuswordpro/qa/cppunit/import_test.cxx index 7411a16ab8bd..f691d778ecca 100644 --- a/lotuswordpro/qa/cppunit/import_test.cxx +++ b/lotuswordpro/qa/cppunit/import_test.cxx @@ -55,7 +55,7 @@ constexpr OUStringLiteral DATA_DIRECTORY = u"/lotuswordpro/qa/cppunit/data/"; CPPUNIT_TEST_FIXTURE(LotusWordProTest, testtdf33787OrderedBullets) { - // Test if ordered bullets are incrementing correclty: + // Test if ordered bullets are incrementing correctly: // A. Lettered bullet uppercase 1 (A.) // B. Lettered bullet uppercase 2 (B.) // C. Lettered bullet uppercase 3 (C.) @@ -130,7 +130,7 @@ CPPUNIT_TEST_FIXTURE(LotusWordProTest, testtdf33787OrderedBullets) xPara.set(xParaEnum->nextElement(), uno::UNO_QUERY); xPara.set(xParaEnum->nextElement(), uno::UNO_QUERY); xPara->getPropertyValue("ListLabelString") >>= aListLabelString; - // Make sure the nested list (with indendation) starts from 1). + // Make sure the nested list (with indentation) starts from 1). CPPUNIT_ASSERT_EQUAL(OUString("1)"), aListLabelString); xPara.set(xParaEnum->nextElement(), uno::UNO_QUERY); diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index 5b270da21dfc..23b3498d6b7c 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -1560,7 +1560,7 @@ void SwView::WriteUserDataSequence ( uno::Sequence < beans::PropertyValue >& rSe aVector.push_back(comphelper::makePropertyValue("VisibleTop", visibleTop)); // We don't read VisibleRight and VisibleBottom anymore, but write them, - // because older versions rely on their presense to restore position + // because older versions rely on their presence to restore position auto visibleRight = rVis.IsWidthEmpty() ? visibleLeft : convertTwipToMm100 ( rVis.Right() ); aVector.push_back(comphelper::makePropertyValue("VisibleRight", visibleRight));