summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:23:45 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-03 08:19:04 +0000
commit7f73bb5b44202431f4d07b283e47b1bc0a1a651e (patch)
tree26067609d994c0e288134f8563243416c332f94e /odk
parente9e61a4a7850ec7f2e0cf238c58794b021da5235 (diff)
Fix typos
Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510 Reviewed-on: https://gerrit.libreoffice.org/16709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'odk')
-rwxr-xr-xodk/config/configure.pl2
-rw-r--r--odk/docs/idl/wikilinks.py2
-rw-r--r--odk/examples/DevelopersGuide/Config/ConfigExamples.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/SalesFilter.java2
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoMenu.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java4
-rw-r--r--odk/examples/java/Text/TextDocumentStructure.java2
13 files changed, 19 insertions, 19 deletions
diff --git a/odk/config/configure.pl b/odk/config/configure.pl
index c0f3188a4274..c9505dc79084 100755
--- a/odk/config/configure.pl
+++ b/odk/config/configure.pl
@@ -166,7 +166,7 @@ if ( $main::operatingSystem =~ m/darwin/ )
print " Error: An office installation is required, please specify the path to a valid installation.\n";
} else
{
- # special work for a network installation, no prgram directory but a link to the soffice binary
+ # special work for a network installation, no program directory but a link to the soffice binary
if ( (! -d "$main::OFFICE_HOME/program") && (-e "$main::OFFICE_HOME/soffice") )
{
my $soserver = `ls -l $OFFICE_HOME_SUGGESTION/soffice | sed -n 's/.* -> //p'`;
diff --git a/odk/docs/idl/wikilinks.py b/odk/docs/idl/wikilinks.py
index 51490879ad7d..7854f645063e 100644
--- a/odk/docs/idl/wikilinks.py
+++ b/odk/docs/idl/wikilinks.py
@@ -8,7 +8,7 @@
#
# wikilinks.py:
-# This throwaway prgram can be used to convert idl_chapter_refs.txt to a
+# This throwaway program can be used to convert idl_chapter_refs.txt to a
# "fake" IDL file that can be fed to doxygen to get the DevGuide Wiki links.
import sys
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index e197fd529897..db4a63966f84 100644
--- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -647,7 +647,7 @@ public class ConfigExamples
}
}
- /// this method is called to report an error during dialog execution to the zuser
+ // this method is called to report an error during dialog execution to the user
public void informUserOfError(Exception e) {
System.err.println("ERROR in GridEditor:");
e.printStackTrace();
diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
index 5a1b46cfc9ec..412b46a098ef 100644
--- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java
+++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
@@ -383,7 +383,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
if ( aFilterItems.size() > 10 ) // (6 standard items + 5 user defined items)
{
- // the first (and thus oldes) user defined item
+ // the first (and thus oldest) user defined item
aFilterItems.remove( 6 );
// keep our date vector synchron
m_aFilterDates.remove( 6 );
diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu.java b/odk/examples/DevelopersGuide/GUI/UnoMenu.java
index b6e9533ecb8a..5f9c244ff70c 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoMenu.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoMenu.java
@@ -124,7 +124,7 @@ public UnoMenu(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
// set up a window description and create the window. A parent window is always necessary for this...
com.sun.star.awt.WindowDescriptor aWindowDescriptor = new com.sun.star.awt.WindowDescriptor();
- // a TopWindow is contains a title bar and is able to inlude menus...
+ // a TopWindow is contains a title bar and is able to include menus...
aWindowDescriptor.Type = WindowClass.TOP;
// specify the position and height of the window on the parent window
aWindowDescriptor.Bounds = _aRectangle;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index c7891df841d4..c02ec71aba69 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -455,7 +455,7 @@ public class FunctionHelper
com.sun.star.frame.XDispatchProvider.class,
xFrame);
- // Ask himn for right dispatch object for given URL.
+ // Ask him for right dispatch object for given URL.
// Force given frame as target for following dispatch by using "".
// It means the same like "_self".
xDispatcher = xProvider.queryDispatch(aURL,"",0);
@@ -866,8 +866,8 @@ public class FunctionHelper
/**
* helper to get a file URL selected by user
- * This method doesn't show any API concepts ...
- * but is necessary rof this demo application.
+ * This method doesn't show any API concepts...
+ * but is necessary for this demo application.
*
* @param aParent parent window of this dialog
* @param bOpen If it is set to true =>
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
index ff4bfe4cc65e..749041d01585 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
@@ -42,7 +42,7 @@ import java.util.ArrayList;
* It's not allowed to call synchronous back to the office if a java object
* was called in a oneway declared interface method. Then it must be
* executed asynchronous. To do so - a thread can be created which use this
- * interface. It get the object, which whis to be called back and the type and
+ * interface. It get the object, which has to be called back and the type and
* parameter of the original request.
*
*/
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index 850fb236b553..c7dc00d6bedc 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -624,10 +624,10 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
m_xFrame = null;
}
- // it's a good idead to cancel listening for frame action events
+ // it's a good idea to cancel listening for frame action events
// before(!) we deregister us as an interceptor.
// Because registration and deregistratio nof interceptor objects
- // will force sending of frame action events ...!
+ // will force sending of frame action events...!
if (bIsActionListener)
xFrame.removeFrameActionListener(this);
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index 038c80ff92f1..63eecd630a5f 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -249,7 +249,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
// Only if status is enabled we can look for his value!
if (aEvent.IsEnabled)
{
- // look for the right type ofthe UI control
+ // look for the right type of the UI control
// Following actions depend on it.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 715854a0b4cd..6d5f2cc27546 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -214,8 +214,8 @@ public class AsciiReplaceFilter
/**
* For external user of us we must provide our internal filter name
* (which is registered inside configuration package TypeDetection).
- * User will be able then to ask there for furthe information about us.
- * Otherwhise we must implement a full featured XPropertySet ...
+ * User will be able then to ask there for further information about us.
+ * Otherwhise we must implement a full featured XPropertySet...
*
* @return our internal filter name of configuration
*/
@@ -593,7 +593,7 @@ public class AsciiReplaceFilter
}
/**
- * helper function to convert the used StringBuffer into a Strig value.
+ * helper function to convert the used StringBuffer into a String value.
* And we use this chance to have a look on optional filter options
* which can invite replacing of strings.
*/
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index c740bc4d276d..cf54bfe3243b 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -49,7 +49,7 @@ import com.sun.star.uno.UnoRuntime;
@attention This class mustn't be threadsafe - because instances of it
are used temp. only - not as members. So no concurrent access
should occur.
- Another reason: It wuold be very difficult to safe every
+ Another reason: it would be very difficult to safe every
access on our internal member. To do so - we must implement
special methods instead of allowing pure member access.
************************************************************************-*/
diff --git a/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java b/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java
index 6a46745933c2..387294601470 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java
@@ -39,7 +39,7 @@ import com.sun.star.util.thePathSettings;
/*
* Provides example code how to access and use the
- * path pathsettings servce.
+ * path pathsettings service.
*/
public class PathSettingsTest {
@@ -131,7 +131,7 @@ public class PathSettingsTest {
}
}
- // Try to modfiy the work path property. After running this example
+ // Try to modify the work path property. After running this example
// you should see the new value of "My Documents" in the path options
// tab page, accessible via "Tools - Options - [Star|Open]Office -
// Paths".
diff --git a/odk/examples/java/Text/TextDocumentStructure.java b/odk/examples/java/Text/TextDocumentStructure.java
index b85c650d4352..83e9bdb2bcee 100644
--- a/odk/examples/java/Text/TextDocumentStructure.java
+++ b/odk/examples/java/Text/TextDocumentStructure.java
@@ -51,7 +51,7 @@ public class TextDocumentStructure {
xContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
System.out.println("Connected to a running office ...");
- // get the rmeote service manger
+ // get the remote service manager
com.sun.star.lang.XMultiComponentFactory xMCF =
xContext.getServiceManager();