diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-20 18:05:48 +0200 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-20 22:39:25 +0200 |
commit | dd950a6edbd3abc45409724be8cabe1dee71b63d (patch) | |
tree | ad898067d9e7b9af0c06ed21fc83b6f00f22d6a1 /odk/examples/java/Spreadsheet | |
parent | 2286eb08e7a6a820ec71ed22945cf422fa88a16a (diff) |
Fix typos
Change-Id: Ib361243332b7219c0073c787c378c648e44705f2
Reviewed-on: https://gerrit.libreoffice.org/75487
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'odk/examples/java/Spreadsheet')
-rw-r--r-- | odk/examples/java/Spreadsheet/ChartTypeChange.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Spreadsheet/EuroAdaption.java | 6 | ||||
-rw-r--r-- | odk/examples/java/Spreadsheet/SCalc.java | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/odk/examples/java/Spreadsheet/ChartTypeChange.java b/odk/examples/java/Spreadsheet/ChartTypeChange.java index eb6099ad224f..d436b388925e 100644 --- a/odk/examples/java/Spreadsheet/ChartTypeChange.java +++ b/odk/examples/java/Spreadsheet/ChartTypeChange.java @@ -139,7 +139,7 @@ public class ChartTypeChange { xCompContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); /* Gets the service manager instance to be used (or null). This method has - been added for convenience, because the service manager is a often used + been added for convenience, because the service manager is an often used object. */ xMCF = xCompContext.getServiceManager(); } diff --git a/odk/examples/java/Spreadsheet/EuroAdaption.java b/odk/examples/java/Spreadsheet/EuroAdaption.java index 209e772ab075..c6906f45ba13 100644 --- a/odk/examples/java/Spreadsheet/EuroAdaption.java +++ b/odk/examples/java/Spreadsheet/EuroAdaption.java @@ -36,7 +36,7 @@ // comment: Step 1: get the Desktop object from the office // Step 2: open an empty Calc document -// Step 3: enter a example text, set the numberformat to DM +// Step 3: enter an example text, set the numberformat to DM // Step 4: change the numberformat to EUR (Euro) // Step 5: use the DM/EUR factor on each cell with a content @@ -80,7 +80,7 @@ public class EuroAdaption { public static void main(String args[]) { // You need the desktop to create a document // The getDesktop method does the UNO bootstrapping, gets the - // remote servie manager and the desktop object. + // remote service manager and the desktop object. com.sun.star.frame.XDesktop xDesktop = null; xDesktop = getDesktop(); @@ -294,7 +294,7 @@ public class EuroAdaption { xCellRange = xSheet.getCellRangeByPosition( 2, 1 + iCounter, 2, 1 + iCounter ); - // get the ProperySet from the cell, to change the numberformat + // get the PropertySet from the cell, to change the numberformat XPropertySet xCellProp = UnoRuntime.queryInterface( XPropertySet.class, xCellRange ); xCellProp.setPropertyValue( "NumberFormat", diff --git a/odk/examples/java/Spreadsheet/SCalc.java b/odk/examples/java/Spreadsheet/SCalc.java index 85eea9e0fd04..90c5ce00f41d 100644 --- a/odk/examples/java/Spreadsheet/SCalc.java +++ b/odk/examples/java/Spreadsheet/SCalc.java @@ -266,8 +266,8 @@ public class SCalc { // get the CellRange which holds the data for the chart and its RangeAddress // get the TableChartSupplier from the sheet and then the TableCharts from it. // add a new chart based on the data to the TableCharts. - // get the ChartDocument, which provide the Diagramm. Change the properties - // Dim3D (3 dimension) and String (the title) of the diagramm. + // get the ChartDocument, which provide the Diagram. Change the properties + // Dim3D (3 dimension) and String (the title) of the diagram. // insert a chart @@ -296,7 +296,7 @@ public class SCalc { XTableCharts oCharts = oSupp.getCharts(); oCharts.addNewByName("Example", oRect, oAddr, true, true); - // get the diagramm and Change some of the properties + // get the diagram and change some of the properties try { oChart = (UnoRuntime.queryInterface( @@ -334,7 +334,7 @@ public class SCalc { XComponent xComp = null; try { - // get the servie manager rom the office + // get the service manager from the office xMCF = xContext.getServiceManager(); // create a new instance of the desktop |