summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java10
1 files changed, 5 insertions, 5 deletions
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.