Fix typos

Change-Id: I62b11b80e4d3d2a8bd4c461804f39d8da6a58066
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137298
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2022-07-21 14:34:39 +02:00 committed by Julien Nabet
parent d022e237f1
commit df31e72e58
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ constexpr OUStringLiteral DATA_DIRECTORY = u"/lotuswordpro/qa/cppunit/data/";
CPPUNIT_TEST_FIXTURE(LotusWordProTest, testtdf33787OrderedBullets) 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.) // A. Lettered bullet uppercase 1 (A.)
// B. Lettered bullet uppercase 2 (B.) // B. Lettered bullet uppercase 2 (B.)
// C. Lettered bullet uppercase 3 (C.) // 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.set(xParaEnum->nextElement(), uno::UNO_QUERY); xPara.set(xParaEnum->nextElement(), uno::UNO_QUERY);
xPara->getPropertyValue("ListLabelString") >>= aListLabelString; 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); CPPUNIT_ASSERT_EQUAL(OUString("1)"), aListLabelString);
xPara.set(xParaEnum->nextElement(), uno::UNO_QUERY); xPara.set(xParaEnum->nextElement(), uno::UNO_QUERY);

View file

@ -1560,7 +1560,7 @@ void SwView::WriteUserDataSequence ( uno::Sequence < beans::PropertyValue >& rSe
aVector.push_back(comphelper::makePropertyValue("VisibleTop", visibleTop)); aVector.push_back(comphelper::makePropertyValue("VisibleTop", visibleTop));
// We don't read VisibleRight and VisibleBottom anymore, but write them, // 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() ); auto visibleRight = rVis.IsWidthEmpty() ? visibleLeft : convertTwipToMm100 ( rVis.Right() );
aVector.push_back(comphelper::makePropertyValue("VisibleRight", visibleRight)); aVector.push_back(comphelper::makePropertyValue("VisibleRight", visibleRight));