Fix typos

Change-Id: I3c228f14a624ce81568bcceccea05e4927d05f39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210043
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-08-27 10:45:45 +02:00
committed by Julien Nabet
parent 9c1bbbd457
commit da9156aadc
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -28,7 +28,7 @@
// the GNU General Public License. // the GNU General Public License.
// This is derived from the C++ ABI for IA-64. Where we diverge // 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 #pragma once
@@ -116,7 +116,7 @@ struct __cxa_exception
#if !__LP64__ #if !__LP64__
// This is a new field to support C++ 0x exception_ptr. // This is a new field to support C++ 0x exception_ptr.
// For binary compatibility it is placed where the compiler // 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; size_t referenceCount;
#endif #endif
+1 -1
View File
@@ -47,7 +47,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ExportTest2, testSetSeriesToSecondaryAxisXLSX)
save(TestFilter::XLSX); save(TestFilter::XLSX);
xmlDocUniquePtr pXmlDoc = parseExport(u"xl/charts/chart1.xml"_ustr); xmlDocUniquePtr pXmlDoc = parseExport(u"xl/charts/chart1.xml"_ustr);
CPPUNIT_ASSERT(pXmlDoc); CPPUNIT_ASSERT(pXmlDoc);
// Check there are only two <lineChart> tag in the XML, one for the primary and one for the secondary axis. // Check there are only two <lineChart> 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); assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:lineChart", 2);
} }
+3 -3
View File
@@ -160,7 +160,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf128634)
CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf130657) CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf130657)
{ {
loadFromFile(u"xlsx/tdf130657.xlsx"); 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<chart2::XChartDocument> xChartDoc = getChartDocFromSheet(0); uno::Reference<chart2::XChartDocument> xChartDoc = getChartDocFromSheet(0);
CPPUNIT_ASSERT_MESSAGE("failed to load chart", xChartDoc.is()); CPPUNIT_ASSERT_MESSAGE("failed to load chart", xChartDoc.is());
@@ -399,7 +399,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ImportTest2, testTdf125444PercentageCustomLabel)
Reference<beans::XPropertySet> xDp = xDataSeries->getDataPointByIndex(1); Reference<beans::XPropertySet> xDp = xDataSeries->getDataPointByIndex(1);
Sequence<Reference<chart2::XDataPointCustomLabelField>> aLabelFields; Sequence<Reference<chart2::XDataPointCustomLabelField>> aLabelFields;
CPPUNIT_ASSERT(xDp->getPropertyValue(u"CustomLabelFields"_ustr) >>= 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. // to assert the latter.
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(3), aLabelFields.getLength()); CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(3), aLabelFields.getLength());
CPPUNIT_ASSERT_EQUAL(chart2::DataPointCustomLabelFieldType_PERCENTAGE, 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 // The file was generated in ODF 1.3 by LO 24.8
loadFromFile(u"ods/tdf166428_Low_High_StockChart_LO248.ods"); 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. // be written.
saveAndReload(TestFilter::ODS); saveAndReload(TestFilter::ODS);
xmlDocUniquePtr pXmlDoc = parseExport(u"Object 1/content.xml"_ustr); xmlDocUniquePtr pXmlDoc = parseExport(u"Object 1/content.xml"_ustr);