summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-20 18:05:48 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-20 22:39:25 +0200
commitdd950a6edbd3abc45409724be8cabe1dee71b63d (patch)
treead898067d9e7b9af0c06ed21fc83b6f00f22d6a1 /odk
parent2286eb08e7a6a820ec71ed22945cf422fa88a16a (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')
-rw-r--r--odk/examples/DevelopersGuide/Components/SimpleLicense/Makefile2
-rw-r--r--odk/examples/DevelopersGuide/Components/dialogcomponent/Makefile2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/sdbcx.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/KeyGenerator.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/SalesFilter.java4
-rw-r--r--odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java2
-rw-r--r--odk/examples/DevelopersGuide/examples.html4
-rw-r--r--odk/examples/cpp/DocumentLoader/DocumentLoader.cxx2
-rw-r--r--odk/examples/examples.html2
-rw-r--r--odk/examples/java/ConverterServlet/ConverterServlet.java2
-rw-r--r--odk/examples/java/Inspector/InspectorPane.java6
-rw-r--r--odk/examples/java/Inspector/Makefile2
-rw-r--r--odk/examples/java/MinimalComponent/Makefile2
-rw-r--r--odk/examples/java/Spreadsheet/ChartTypeChange.java2
-rw-r--r--odk/examples/java/Spreadsheet/EuroAdaption.java6
-rw-r--r--odk/examples/java/Spreadsheet/SCalc.java8
-rw-r--r--odk/examples/java/Storage/TestHelper.java2
-rw-r--r--odk/examples/java/Text/BookmarkInsertion.java6
-rw-r--r--odk/examples/java/Text/HardFormatting.java4
-rw-r--r--odk/examples/java/Text/SWriter.java4
-rw-r--r--odk/examples/java/Text/StyleCreation.java2
-rw-r--r--odk/examples/java/Text/StyleInitialization.java10
-rw-r--r--odk/examples/java/Text/TextReplace.java4
-rw-r--r--odk/examples/python/toolpanel/readme4
-rw-r--r--odk/util/check.pl2
33 files changed, 55 insertions, 55 deletions
diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/Makefile b/odk/examples/DevelopersGuide/Components/SimpleLicense/Makefile
index 8dd4f0502f94..efcac2aac3cf 100644
--- a/odk/examples/DevelopersGuide/Components/SimpleLicense/Makefile
+++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/Makefile
@@ -42,7 +42,7 @@ include $(SETTINGS)/std.mk
# Define non-platform/compiler specific settings
-# we use the sample directory name dor separating this example
+# we use the sample directory name for separating this example
# from others in the output directory
SAMPLE_NAME=LicenseTest
SAMPLE_CLASS_OUT=$(OUT_CLASS)/$(SAMPLE_NAME)
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/Makefile b/odk/examples/DevelopersGuide/Components/dialogcomponent/Makefile
index f0b38086061a..23d766868eb4 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/Makefile
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/Makefile
@@ -42,7 +42,7 @@ include $(SETTINGS)/std.mk
# Define non-platform/compiler specific settings
-# we use the sample directory name dor separating this example
+# we use the sample directory name for separating this example
# from others in the output directory
SAMPLE_NAME=DialogComponentSample
SAMPLE_CLASS_OUT=$(OUT_CLASS)/$(SAMPLE_NAME)
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
index c31434e8ca34..c915cdac0be6 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
@@ -129,7 +129,7 @@ namespace connectivity
This method needs to be implemented in derived classes.
<BR>
The method gets called with s_aMutex acquired.
- @return an pointer to the newly created array helper. Must not be NULL.
+ @return a pointer to the newly created array helper. Must not be NULL.
*/
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const = 0;
};
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx
index e36776469d2a..aaec8cdd3d78 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx
@@ -309,7 +309,7 @@ sal_Bool OStatement_Base::convertFastPropertyValue(
void OStatement_Base::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue) throw (Exception)
{
- // set the value to what ever is necessary
+ // set the value to whatever is necessary
switch(nHandle)
{
case PROPERTY_ID_QUERYTIMEOUT:
diff --git a/odk/examples/DevelopersGuide/Database/sdbcx.java b/odk/examples/DevelopersGuide/Database/sdbcx.java
index ac7111d11826..8d7bcab93a78 100644
--- a/odk/examples/DevelopersGuide/Database/sdbcx.java
+++ b/odk/examples/DevelopersGuide/Database/sdbcx.java
@@ -131,7 +131,7 @@ public class sdbcx
if(con != null)
{
System.out.println("Connection could be created!");
- // we the XDatabaseDefinitionSupplier interface from the driver to get the XTablesSupplier
+ // with the XDatabaseDefinitionSupplier interface from the driver to get the XTablesSupplier
XDataDefinitionSupplier xDDSup = UnoRuntime.queryInterface(
XDataDefinitionSupplier.class,xDriver);
if(xDDSup != null)
diff --git a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
index 08beae57c63d..43e5acdfade4 100644
--- a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
+++ b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
@@ -98,7 +98,7 @@ class UniqueColumnValue
@returns
a String which can be used as statement to retrieve a unique value for the given column.
- The result set resulting from such a execution contains the value in its first column.
+ The result set resulting from such an execution contains the value in its first column.
*/
private String composeUniqueyKeyStatement( XPropertySet xForm, String sFieldName ) throws com.sun.star.uno.Exception
{
diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
index 9082772517c5..519e3e80ce65 100644
--- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java
+++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
@@ -280,7 +280,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
}
/* ------------------------------------------------------------------ */
- /** checks if the given filter index referes to the "<other>" entry which
+ /** checks if the given filter index refers to the "<other>" entry which
allows the user to manually enter a date
*/
final private boolean isManualFilter( short nFilterIndex )
@@ -458,7 +458,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
return false;
// do not allow the date field to be reset - it would set its content
// to the current date
- // Note that another possible solution would be to wait for the resetted
+ // Note that another possible solution would be to wait for the reset
// event and correct the value there
}
diff --git a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
index 3f3c4be866df..9a9db63cd6de 100644
--- a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
+++ b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
@@ -53,7 +53,7 @@ public class RoadmapItemStateChangeListener implements XItemListener {
XPropertySet xDialogModelPropertySet = UnoRuntime.queryInterface(XPropertySet.class, m_xMSFDialogModel);
int nOldStep = ((Integer) xDialogModelPropertySet.getPropertyValue("Step")).intValue();
// in the following line "ID" and "Step" are mixed together.
- // In fact in this case they denot the same
+ // In fact in this case they denote the same
if (nNewID != nOldStep){
xDialogModelPropertySet.setPropertyValue("Step", Integer.valueOf(nNewID));
}
diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
index 47bfe156a522..d73554972598 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
@@ -233,7 +233,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
}
catch ( com.sun.star.beans.UnknownPropertyException ex ) {
// do something useful
- // we used a unknown property
+ // we used an unknown property
}
catch ( com.sun.star.lang.IndexOutOfBoundsException ex ) {
// do something useful
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index 12246aca65a4..0f885f636934 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -207,7 +207,7 @@ public class DocumentView extends JFrame
{
// create view frame (as a XFrame!) here
// Look for right view mode set by user command line parameter.
- // First try to get a new unambigous frame name from our global ViewContainer.
+ // First try to get a new unambiguous frame name from our global ViewContainer.
if(ViewContainer.mbInplace)
{
// inplace document view can't be initialized without a visible parent window hierarchy!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index e566ba45ba6e..7ce871983db9 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -134,7 +134,7 @@ public class FunctionHelper
* the deprecated one not exist we get an empty frame, we can try to use the new service.
*
* @param xSMGR
- * we nee the remote service manager to create this task/frame service
+ * we need the remote service manager to create this task/frame service
*
* @return [com.sun.star.frame.XFrame]
* the new created frame reference in case of success or null otherwise
@@ -518,7 +518,7 @@ public class FunctionHelper
// First prepare frame for loading
// We must address it inside the frame tree without any complications.
- // So we set an unambigous (we hope it) name and use it later.
+ // So we set an unambiguous (we hope it) name and use it later.
// Don't forget to reset original name after that.
sOldName = xFrame.getName();
String sTarget = "odk_officedev_desk";
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index f78115854b1d..f037949b0590 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -150,7 +150,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
- * In case we got an oneway listener callback - we had to use the office
+ * In case we got a oneway listener callback - we had to use the office
* asynchronous then. This method is the callback from the started thread
* (started inside the original oneway method). We found all parameters of
* the original request packed inside a vector. Here we unpack it and
@@ -243,7 +243,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
return;
// enable/disable the control.
- // Means: if the feature isn't available currently - we can't show an status really here.
+ // Means: if the feature isn't available currently - we can't show a status really here.
// Then we should colorize it gray...
m_rControl.setEnabled(aEvent.IsEnabled);
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 69c51f62cefd..5ab5fb3b1358 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -231,7 +231,7 @@ public class AsciiReplaceFilter
/**
* It's not allowed for us - neither very easy to change our internal
* name during runtime of an office. Because every filter name must
- * be unambigous ...
+ * be unambiguous...
* So we don't implement this method here.
*/
public void setName( String sName )
@@ -362,7 +362,7 @@ public class AsciiReplaceFilter
/**
* Makes the filter process breakable. To do so the outside code may use threads.
- * We use a internal "condition" variable which is queried by the real filter method on
+ * We use an internal "condition" variable which is queried by the real filter method on
* every loop they do. So it's more a polling mechanism.
*/
public void cancel()
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
index 8d2886b4e9ba..9cbd481cb4b0 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
@@ -161,7 +161,7 @@ public class LinguisticExamples
// Only properties with values different from the (default) values
// in the LinguProperties property set need to be supllied.
// Thus we may stay with an empty list in order to use the ones
- // form the property set.
+ // from the property set.
PropertyValue[] aEmptyProps = new PropertyValue[0];
// use american english as language
diff --git a/odk/examples/DevelopersGuide/examples.html b/odk/examples/DevelopersGuide/examples.html
index 6f7ea16b30cb..51ac213231d1 100644
--- a/odk/examples/DevelopersGuide/examples.html
+++ b/odk/examples/DevelopersGuide/examples.html
@@ -58,7 +58,7 @@ comes with a wide range of examples from all application areas which
shows the use of the API in the context of the different functional
areas. Furthermore the examples can be used as a first starting point
to modify an existing example to their own needs.</p>
- <p>Some fo the examples need a running office
+ <p>Some of the examples need a running office
instance listening on a port. If this is necessary you will get further
information in the makefiles.</p>
<p>All examples marked with a <img
@@ -1649,7 +1649,7 @@ to show how to protect shapes from modifications.</td>
href="./Drawing/ObjectTransformationDemo.java"
title="link to Drawing/ObjectTransformationDemo.java">ObjectTransformationDemo</a></td>
<td class="cell80">Shows geometric transformations on
-a shape using a homogenous matrix.</td>
+a shape using a homogeneous matrix.</td>
</tr>
<tr>
<td class="cell20"><img
diff --git a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
index 590bbe762666..7e1f89cf3875 100644
--- a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
+++ b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
@@ -84,7 +84,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
Reference< XComponentContext > xComponentContext(::cppu::defaultBootstrap_InitialComponentContext());
/* 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.
*/
Reference< XMultiComponentFactory > xMultiComponentFactoryClient(
diff --git a/odk/examples/examples.html b/odk/examples/examples.html
index 8dc3b588cf65..b5df8be72dcf 100644
--- a/odk/examples/examples.html
+++ b/odk/examples/examples.html
@@ -61,7 +61,7 @@
of the API and demonstrate how to benefit from the included word
processor, spreadsheet, presentation software, graphics program and
database of LibreOffice %PRODUCT_RELEASE%.<br/>
- Some fo the examples need a running office instance listening on a
+ Some of the examples need a running office instance listening on a
port. If this is necessary you will get further information in the
makefiles.</p>
<p>Every makefile contains at least one run target to execute an
diff --git a/odk/examples/java/ConverterServlet/ConverterServlet.java b/odk/examples/java/ConverterServlet/ConverterServlet.java
index 809d0905e888..91380ab863e1 100644
--- a/odk/examples/java/ConverterServlet/ConverterServlet.java
+++ b/odk/examples/java/ConverterServlet/ConverterServlet.java
@@ -217,7 +217,7 @@ public class ConverterServlet extends HttpServlet {
com.sun.star.comp.helper.Bootstrap.createInitialComponentContext( null );
/* 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. */
XMultiComponentFactory xmulticomponentfactory =
xcomponentcontext.getServiceManager();
diff --git a/odk/examples/java/Inspector/InspectorPane.java b/odk/examples/java/Inspector/InspectorPane.java
index e175239fd02f..627d4c4336b0 100644
--- a/odk/examples/java/Inspector/InspectorPane.java
+++ b/odk/examples/java/Inspector/InspectorPane.java
@@ -464,9 +464,9 @@ import com.sun.star.uno.XComponentContext;
addPropertySetInfoSubNodes(oUnoPropertyNode);
}
else{
- //TODO this code is redundant!!!
+ //TODO: this code is redundant!!!
if ( oUnoObject.getClass().isArray()){
- // TODO probably we should provid a possibility to insert also non-primitive nodes
+ // TODO: probably we should provide a possibility to insert also non-primitive nodes
addPrimitiveValuesToTreeNode(oUnoPropertyNode, oUnoObject);
}
else{
@@ -515,7 +515,7 @@ import com.sun.star.uno.XComponentContext;
else if (_oUnoNode.getNodeType() == XUnoNode.nOTHERS){
Object oUnoObject = _oUnoNode.getUnoObject();
if ( oUnoObject.getClass().isArray()){
- // TODO probably we should provid a possibility to insert also non-primitive nodes
+ // TODO: probably we should provide a possibility to insert also non-primitive nodes
addPrimitiveValuesToTreeNode(_oUnoNode, oUnoObject);
}
else{
diff --git a/odk/examples/java/Inspector/Makefile b/odk/examples/java/Inspector/Makefile
index 0b90edf42296..a0d80bf6d36d 100644
--- a/odk/examples/java/Inspector/Makefile
+++ b/odk/examples/java/Inspector/Makefile
@@ -42,7 +42,7 @@ include $(SETTINGS)/std.mk
# Define non-platform/compiler specific settings
-# we use the sample directory name dor separating this example
+# we use the sample directory name for separating this example
# from others in the output directory
SAMPLE_NAME=InstanceInspector
SAMPLE_CLASS_OUT=$(OUT_CLASS)/$(SAMPLE_NAME)
diff --git a/odk/examples/java/MinimalComponent/Makefile b/odk/examples/java/MinimalComponent/Makefile
index 13dc762966f6..0639b1cacaa7 100644
--- a/odk/examples/java/MinimalComponent/Makefile
+++ b/odk/examples/java/MinimalComponent/Makefile
@@ -42,7 +42,7 @@ include $(SETTINGS)/std.mk
# Define non-platform/compiler specific settings
-# we use the sample directory name dor separating this example
+# we use the sample directory name for separating this example
# from others in the output directory
SAMPLE_NAME=MinimalComponent
SAMPLE_CLASS_OUT=$(OUT_CLASS)/$(SAMPLE_NAME)
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
diff --git a/odk/examples/java/Storage/TestHelper.java b/odk/examples/java/Storage/TestHelper.java
index cece84d3b170..a486f1d53dae 100644
--- a/odk/examples/java/Storage/TestHelper.java
+++ b/odk/examples/java/Storage/TestHelper.java
@@ -49,7 +49,7 @@ public class TestHelper {
return false;
}
- // get XTrucate implementation from output stream
+ // get XTruncate implementation from output stream
XTruncate xTruncate = UnoRuntime.queryInterface( XTruncate.class, xOutput );
if ( xTruncate == null )
{
diff --git a/odk/examples/java/Text/BookmarkInsertion.java b/odk/examples/java/Text/BookmarkInsertion.java
index a857b36c2874..0b9dd3fa9aa2 100644
--- a/odk/examples/java/Text/BookmarkInsertion.java
+++ b/odk/examples/java/Text/BookmarkInsertion.java
@@ -36,7 +36,7 @@
// comment: Step 1: get the Desktop object from the office
// Step 2: open an empty text document
-// Step 3: enter a example text
+// Step 3: enter an example text
// Step 4: insert some bookmarks
// Chapter 5.1.1.4 Inserting bookmarks
@@ -49,7 +49,7 @@ public class BookmarkInsertion {
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();
@@ -89,7 +89,7 @@ public class BookmarkInsertion {
xTextDocument, mList[ iCounter ] );
if( xSearchInterface != null ) {
- // get the TextRange form the XInterface
+ // get the TextRange from the XInterface
xSearchTextRange = UnoRuntime.queryInterface(
com.sun.star.text.XTextRange.class, xSearchInterface);
diff --git a/odk/examples/java/Text/HardFormatting.java b/odk/examples/java/Text/HardFormatting.java
index 71fc0d2e7c23..81a294c86320 100644
--- a/odk/examples/java/Text/HardFormatting.java
+++ b/odk/examples/java/Text/HardFormatting.java
@@ -36,7 +36,7 @@
// comment: Step 1: get the Desktop object from the office
// Step 2: open an empty text document
-// Step 3: enter a example text
+// Step 3: enter an example text
// Step 4: get some text attributes
// Step 5: check the PropertyState from the selection
@@ -50,7 +50,7 @@ public class HardFormatting {
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();
diff --git a/odk/examples/java/Text/SWriter.java b/odk/examples/java/Text/SWriter.java
index 811c0552953b..fc960c1f2bdb 100644
--- a/odk/examples/java/Text/SWriter.java
+++ b/odk/examples/java/Text/SWriter.java
@@ -83,7 +83,7 @@ public class SWriter {
//oooooooooooooooooooooooooooStep 3oooooooooooooooooooooooooooooooooooooooo
// insert some text.
- // For this purpose get the Text-Object of the document an create the
+ // For this purpose get the Text-Object of the document and create the
// cursor. Now it is possible to insert a text at the cursor-position
// via insertString
@@ -243,7 +243,7 @@ public class SWriter {
// insert a text frame.
// create an instance of com.sun.star.text.TextFrame using the MSF of the
// document. Change some properties an insert it.
- // Now get the text-Object of the frame an the corresponding cursor.
+ // Now get the text-Object of the frame and the corresponding cursor.
// Insert some text via insertString.
diff --git a/odk/examples/java/Text/StyleCreation.java b/odk/examples/java/Text/StyleCreation.java
index f40057b65dda..d5151eca7c29 100644
--- a/odk/examples/java/Text/StyleCreation.java
+++ b/odk/examples/java/Text/StyleCreation.java
@@ -49,7 +49,7 @@ public class StyleCreation {
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();
diff --git a/odk/examples/java/Text/StyleInitialization.java b/odk/examples/java/Text/StyleInitialization.java
index e825876bcdb2..63ea29b24e2c 100644
--- a/odk/examples/java/Text/StyleInitialization.java
+++ b/odk/examples/java/Text/StyleInitialization.java
@@ -36,7 +36,7 @@
// comment: Step 1: get the Desktop object from the office
// Step 2: open an empty text document
-// Step 3: enter a example text
+// Step 3: enter an example text
// Step 4: use the paragraph collection
// Step 5: apply a different paragraph style on the paragraphs
@@ -49,7 +49,7 @@ public class StyleInitialization {
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();
@@ -111,7 +111,7 @@ public class StyleInitialization {
// END: 'Style basics' Section from the Tutorial
// There are two way to travel through the paragraphs, with a
- // paragraph cursor, or a enumeration.
+ // paragraph cursor, or an enumeration.
// You find both ways in this example
// The first way, with the paragraph cursor
@@ -127,7 +127,7 @@ public class StyleInitialization {
xEnumerationAccess = UnoRuntime.queryInterface(
com.sun.star.container.XEnumerationAccess.class, xText );
- // the enumeration contains all paragraph form the document
+ // the enumeration contains all paragraph from the document
com.sun.star.container.XEnumeration xParagraphEnumeration = null;
xParagraphEnumeration = xEnumerationAccess.createEnumeration();
@@ -187,7 +187,7 @@ public class StyleInitialization {
xParaStyleCollection = UnoRuntime.queryInterface(
com.sun.star.container.XNameContainer.class, xNameAccess.getByName( "ParagraphStyles" ));
- // create a array from strings with the name of all paragraph styles from the text document
+ // create an array from strings with the name of all paragraph styles from the text document
String[] sElementNames = xParaStyleCollection.getElementNames();
int iElementCount = sElementNames.length;
diff --git a/odk/examples/java/Text/TextReplace.java b/odk/examples/java/Text/TextReplace.java
index 9dc3eec0a2a8..588d88ae621b 100644
--- a/odk/examples/java/Text/TextReplace.java
+++ b/odk/examples/java/Text/TextReplace.java
@@ -36,7 +36,7 @@
// comment: Step 1: get the Desktop object from the office
// Step 2: open an empty text document
-// Step 3: enter a example text
+// Step 3: enter an example text
// Step 4: replace some english spelled words with US spelled
@@ -48,7 +48,7 @@ public class TextReplace {
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();
diff --git a/odk/examples/python/toolpanel/readme b/odk/examples/python/toolpanel/readme
index 9061339e5b24..5dedd9385a78 100644
--- a/odk/examples/python/toolpanel/readme
+++ b/odk/examples/python/toolpanel/readme
@@ -6,8 +6,8 @@ This extension is a Proof of concept on implementing Toolpanel in Python
- alternatively zip the files and name it toolpanel.oxt
- install it
- activate Task Panes in menu (check View > Task Pane menu)
-- enjoy !
+- enjoy!
-The events of the controls (Click me button) in the task pane are handled by basic macro code to illustrate that Toolpanel definition and events codes are indepedant. One could use any language to react on events
+The events of the controls (Click me button) in the task panel are handled by basic macro code to illustrate that Toolpanel definition and events codes are independent. One could use any language to react on events
Then focus only on .py and xml files for the toolpanel activation analysis
diff --git a/odk/util/check.pl b/odk/util/check.pl
index 03b58fe3da7c..be03d40ff585 100644
--- a/odk/util/check.pl
+++ b/odk/util/check.pl
@@ -17,7 +17,7 @@
#
#
-# check - a perl script to check some files and directories if they exists
+# check - a perl script to check some files and directories if they exist
# A first simple check if the SDK was built completely.
#