summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide
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/examples/DevelopersGuide
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/examples/DevelopersGuide')
-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
15 files changed, 20 insertions, 20 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