diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-09 20:29:10 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-09 22:38:36 +0200 |
commit | 25c9f041ad078c94321e18361d6df52894865b7f (patch) | |
tree | 6398f1b3f9afbdb42cd93606a95be892493fe5b0 /chart2 | |
parent | df0592cfb16c28b22c0c0331306dd072e7678fce (diff) |
Typo: *adress* -> *address* (except from not translated German parts)
Change-Id: I62e12aed5bc67119433c39ff333f69b79944dca3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123318
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/qa/extras/PivotChartTest.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/chart2/qa/extras/PivotChartTest.cxx b/chart2/qa/extras/PivotChartTest.cxx index cda42a2bd632..97dd41634332 100644 --- a/chart2/qa/extras/PivotChartTest.cxx +++ b/chart2/qa/extras/PivotChartTest.cxx @@ -295,14 +295,14 @@ table::CellRangeAddress lclCreateTestData(uno::Reference<sheet::XSpreadsheetDocu uno::Reference<beans::XPropertySet> xCellProp(xCellRange, UNO_QUERY_THROW); xCellProp->setPropertyValue("NumberFormat", uno::makeAny(nDateKey)); - table::CellRangeAddress sCellRangeAdress; - sCellRangeAdress.Sheet = 0; - sCellRangeAdress.StartColumn = 0; - sCellRangeAdress.StartRow = 0; - sCellRangeAdress.EndColumn = nEndCol; - sCellRangeAdress.EndRow = nEndRow; - - return sCellRangeAdress; + table::CellRangeAddress sCellRangeAddress; + sCellRangeAddress.Sheet = 0; + sCellRangeAddress.StartColumn = 0; + sCellRangeAddress.StartRow = 0; + sCellRangeAddress.EndColumn = nEndCol; + sCellRangeAddress.EndRow = nEndRow; + + return sCellRangeAddress; } } // end anonymous namespace @@ -535,12 +535,12 @@ void PivotChartTest::testPivotChartWithOneColumnField() OUString sPivotTableName("DataPilotTable"); - table::CellRangeAddress sCellRangeAdress = lclCreateTestData(xSheetDoc); + table::CellRangeAddress sCellRangeAddress = lclCreateTestData(xSheetDoc); uno::Reference<sheet::XDataPilotTables> xDataPilotTables = lclGetDataPilotTables(0, xSheetDoc); uno::Reference<sheet::XDataPilotDescriptor> xDataPilotDescriptor = xDataPilotTables->createDataPilotDescriptor(); - xDataPilotDescriptor->setSourceRange(sCellRangeAdress); + xDataPilotDescriptor->setSourceRange(sCellRangeAddress); lclModifyOrientation(xDataPilotDescriptor, u"Country", sheet::DataPilotFieldOrientation_COLUMN); lclModifyOrientation(xDataPilotDescriptor, u"Sales T1", sheet::DataPilotFieldOrientation_DATA); @@ -617,12 +617,12 @@ void PivotChartTest::testPivotChartWithOneRowField() OUString sPivotTableName("DataPilotTable"); - table::CellRangeAddress sCellRangeAdress = lclCreateTestData(xSheetDoc); + table::CellRangeAddress sCellRangeAddress = lclCreateTestData(xSheetDoc); uno::Reference<sheet::XDataPilotTables> xDataPilotTables = lclGetDataPilotTables(0, xSheetDoc); uno::Reference<sheet::XDataPilotDescriptor> xDataPilotDescriptor = xDataPilotTables->createDataPilotDescriptor(); - xDataPilotDescriptor->setSourceRange(sCellRangeAdress); + xDataPilotDescriptor->setSourceRange(sCellRangeAddress); lclModifyOrientation(xDataPilotDescriptor, u"Country", sheet::DataPilotFieldOrientation_ROW); lclModifyOrientation(xDataPilotDescriptor, u"Sales T1", sheet::DataPilotFieldOrientation_DATA); @@ -677,12 +677,12 @@ void PivotChartTest::testPivotTableDataProvider_PivotTableFields() OUString sPivotTableName("DataPilotTable"); - table::CellRangeAddress sCellRangeAdress = lclCreateTestData(xSheetDoc); + table::CellRangeAddress sCellRangeAddress = lclCreateTestData(xSheetDoc); uno::Reference<sheet::XDataPilotTables> xDataPilotTables = lclGetDataPilotTables(0, xSheetDoc); uno::Reference<sheet::XDataPilotDescriptor> xDataPilotDescriptor = xDataPilotTables->createDataPilotDescriptor(); - xDataPilotDescriptor->setSourceRange(sCellRangeAdress); + xDataPilotDescriptor->setSourceRange(sCellRangeAddress); lclModifyOrientation(xDataPilotDescriptor, u"City", sheet::DataPilotFieldOrientation_ROW); lclModifyOrientation(xDataPilotDescriptor, u"Country", sheet::DataPilotFieldOrientation_COLUMN); @@ -785,12 +785,12 @@ void PivotChartTest::testPivotChartRowFieldInOutlineMode() OUString sPivotTableName("DataPilotTable"); - table::CellRangeAddress sCellRangeAdress = lclCreateTestData(xSheetDoc); + table::CellRangeAddress sCellRangeAddress = lclCreateTestData(xSheetDoc); uno::Reference<sheet::XDataPilotTables> xDataPilotTables = lclGetDataPilotTables(0, xSheetDoc); uno::Reference<sheet::XDataPilotDescriptor> xDataPilotDescriptor = xDataPilotTables->createDataPilotDescriptor(); - xDataPilotDescriptor->setSourceRange(sCellRangeAdress); + xDataPilotDescriptor->setSourceRange(sCellRangeAddress); lclModifyOrientation(xDataPilotDescriptor, u"Country", sheet::DataPilotFieldOrientation_ROW); lclModifyOrientation(xDataPilotDescriptor, u"City", sheet::DataPilotFieldOrientation_ROW); @@ -916,12 +916,12 @@ void PivotChartTest::testPivotChartWithDateRowField() OUString sPivotTableName("DataPilotTable"); - table::CellRangeAddress sCellRangeAdress = lclCreateTestData(xSheetDoc); + table::CellRangeAddress sCellRangeAddress = lclCreateTestData(xSheetDoc); uno::Reference<sheet::XDataPilotTables> xDataPilotTables = lclGetDataPilotTables(0, xSheetDoc); uno::Reference<sheet::XDataPilotDescriptor> xDataPilotDescriptor = xDataPilotTables->createDataPilotDescriptor(); - xDataPilotDescriptor->setSourceRange(sCellRangeAdress); + xDataPilotDescriptor->setSourceRange(sCellRangeAddress); lclModifyOrientation(xDataPilotDescriptor, u"Date", sheet::DataPilotFieldOrientation_ROW); lclModifyOrientation(xDataPilotDescriptor, u"City", sheet::DataPilotFieldOrientation_ROW); |