From da9156aadc1e2f537c06045445b4bc28d7294358 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 26 Aug 2026 19:18:30 +0200 Subject: [PATCH] Fix typos Change-Id: I3c228f14a624ce81568bcceccea05e4927d05f39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210043 Tested-by: Jenkins Reviewed-by: Julien Nabet --- bridges/source/cpp_uno/gcc3_ios/unwind-cxx.h | 4 ++-- chart2/qa/extras/chart2export2.cxx | 2 +- chart2/qa/extras/chart2import2.cxx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bridges/source/cpp_uno/gcc3_ios/unwind-cxx.h b/bridges/source/cpp_uno/gcc3_ios/unwind-cxx.h index df9f90f8f1df..9bc668f4e0f6 100644 --- a/bridges/source/cpp_uno/gcc3_ios/unwind-cxx.h +++ b/bridges/source/cpp_uno/gcc3_ios/unwind-cxx.h @@ -28,7 +28,7 @@ // the GNU General Public License. // This is derived from the C++ ABI for IA-64. Where we diverge -// for cross-architecture compatibility are noted with "@@@". +// for cross-architecture compatibility is noted with "@@@". #pragma once @@ -116,7 +116,7 @@ struct __cxa_exception #if !__LP64__ // This is a new field to support C++ 0x exception_ptr. // For binary compatibility it is placed where the compiler - // previously adding padded to 64-bit align unwindHeader. + // previously added padding to 64-bit align unwindHeader. size_t referenceCount; #endif diff --git a/chart2/qa/extras/chart2export2.cxx b/chart2/qa/extras/chart2export2.cxx index bc29d2017b57..71a9b0e40ee5 100644 --- a/chart2/qa/extras/chart2export2.cxx +++ b/chart2/qa/extras/chart2export2.cxx @@ -47,7 +47,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ExportTest2, testSetSeriesToSecondaryAxisXLSX) save(TestFilter::XLSX); xmlDocUniquePtr pXmlDoc = parseExport(u"xl/charts/chart1.xml"_ustr); CPPUNIT_ASSERT(pXmlDoc); - // Check there are only two tag in the XML, one for the primary and one for the secondary axis. + // Check there are only two tags in the XML, one for the primary and one for the secondary axis. assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:lineChart", 2); } diff --git a/chart2/qa/extras/chart2import2.cxx b/chart2/qa/extras/chart2import2.cxx index 1bfd725b5813..2814d39ce747 100644 --- a/chart2/qa/extras/chart2import2.cxx +++ b/chart2/qa/extras/chart2import2.cxx @@ -160,7 +160,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf128634) CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf130657) { loadFromFile(u"xlsx/tdf130657.xlsx"); - // Test ShiftedCategoryPosition for charts which is not contain a "crossbetween" OOXML tag. + // Test ShiftedCategoryPosition for charts which do not contain a "crossbetween" OOXML tag. uno::Reference xChartDoc = getChartDocFromSheet(0); CPPUNIT_ASSERT_MESSAGE("failed to load chart", xChartDoc.is()); @@ -399,7 +399,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf125444PercentageCustomLabel) Reference xDp = xDataSeries->getDataPointByIndex(1); Sequence> aLabelFields; CPPUNIT_ASSERT(xDp->getPropertyValue(u"CustomLabelFields"_ustr) >>= aLabelFields); - // There are three label field: a value label, a newline and a percentage label. We want + // There are three label fields: a value label, a newline and a percentage label. We want // to assert the latter. CPPUNIT_ASSERT_EQUAL(static_cast(3), aLabelFields.getLength()); CPPUNIT_ASSERT_EQUAL(chart2::DataPointCustomLabelFieldType_PERCENTAGE, @@ -1082,7 +1082,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf166428) // The file was generated in ODF 1.3 by LO 24.8 loadFromFile(u"ods/tdf166428_Low_High_StockChart_LO248.ods"); - // The attribute table:cell-range-address does not exist in ODF 1.4. and therefore may not be + // The attribute table:cell-range-address does not exist in ODF 1.4. and therefore may not // be written. saveAndReload(TestFilter::ODS); xmlDocUniquePtr pXmlDoc = parseExport(u"Object 1/content.xml"_ustr);