summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-15 09:09:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-16 12:40:51 +0100
commit624f84c07ee798f6bbf4381c26262d5d2774a1ed (patch)
treea3a0334dbfda10f89c563344976cea321652f238 /odk
parent66a192ee63db9adc1d6df66a5e7996d5af5d5284 (diff)
Fix typos
Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java10
-rw-r--r--odk/examples/DevelopersGuide/Text/TextDocuments.java2
3 files changed, 9 insertions, 9 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index a579290c550f..b9314bb9c467 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -148,7 +148,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
* (started inside the original oneway method). We found all parameters of
* the original request packed inside a vector. Here we unpack it and
* call the right internal helper method, which implements the right
- * funtionality.
+ * functionality.
*
* @seealso frameAction()
* @seealso dispatch()
@@ -194,7 +194,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
* callback for frame action events
* We use it to update our interception. Because if a new component was loaded into
* the frame or another interceptor was registered, we should refresh our connection
- * to the frame. Otherwhise we can't guarantee full functionality here.
+ * to the frame. Otherwise we can't guarantee full functionality here.
*
* Note: Don't react synchronous in an asynchronous listener callback. So use a thread
* here to update anything.
@@ -597,7 +597,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/*
* If this java application shutdown - we must cancel all current existing
- * listener connections. Otherwhise the office will run into some
+ * listener connections. Otherwise the office will run into some
* DisposedExceptions if it tries to use these forgotten listener references.
* And of course it can die doing that.
* We are registered at a central object to be informed if the VM will exit.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index 948483298657..cbea395c9492 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -50,7 +50,7 @@ import com.sun.star.uno.UnoRuntime;
* reacts for status events we listen for
* We listen for status events to update our UI.
* To know which event must be used for which UI control
- * we use a special class to do that. Otherwhise we have
+ * we use a special class to do that. Otherwise we have
* to guess it ...
*
* Further we are frame action listener too.
@@ -155,7 +155,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
* (started inside the original oneway method). We found all parameters of
* the original request packed inside a vector. Here we unpack it and
* call the right internal helper method, which implements the right
- * funtionality.
+ * functionality.
*
* @seealso frameAction()
* @seealso statusChanged()
@@ -259,7 +259,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
{
JCheckBox aBox = (JCheckBox)m_rControl;
- // State must be a boolean value too. Otherwhise must
+ // State must be a boolean value too. Otherwise must
// ignore this event.
if ( ! (aEvent.State instanceof Boolean ) )
return;
@@ -390,7 +390,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
*
* @param aEvent
* describes the source which fire this event
- * Must be our internal saved dispatch or frame. Otherwhise
+ * Must be our internal saved dispatch or frame. Otherwise
* somewhere know us without a registration ...
*/
public /*ONEWAY*/ void disposing(/*IN*/ com.sun.star.lang.EventObject aEvent)
@@ -419,7 +419,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
* If this java application shutdown - we must cancel all current existing
- * listener connections. Otherwhise the office will run into some
+ * listener connections. Otherwise the office will run into some
* DisposedExceptions if it tries to use these forgotten listener references.
* And of course it can die doing that.
* We are registered at a central object to be informed if the VM will exit.
diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java
index 241733747c0c..6566d5e7fc66 100644
--- a/odk/examples/DevelopersGuide/Text/TextDocuments.java
+++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java
@@ -965,7 +965,7 @@ public class TextDocuments {
++nDepth;
}
while ( nDepth < 200 && aBlockNames.length == 0 );
- // If we managed to find a group containg blocks...
+ // If we managed to find a group containing blocks...
if ( aBlockNames.length > 0 )
{
// Pick a random block in this group and get its