summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index c7dc00d6bedc..21f3e6704a55 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -32,14 +32,14 @@
*
*************************************************************************/
-// __________ Imports __________
+// Imports
import java.util.ArrayList;
import com.sun.star.frame.FrameActionEvent;
import com.sun.star.uno.UnoRuntime;
-// __________ Implementation __________
+// Implementation
/**
* This class can be used to intercept dispatched URL's
@@ -190,7 +190,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
- * call back for frame action events
+ * 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.
@@ -284,7 +284,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
- * Internal call back for frame action events, triggered by the used
+ * Internal callback for frame action events, triggered by the used
* OnewayExecutor thread we started in frameAction().
* We use it to update our interception on the internal saved frame.
*
@@ -523,7 +523,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* Notification of status listener isn't guaranteed (instead of listener on XNotifyingDispatch interface).
- * So this interceptor doesn't support that really ...
+ * So this interceptor doesn't support that really...
*/
public /*ONEWAY*/ void addStatusListener(/*IN*/ com.sun.star.frame.XStatusListener xListener,/*IN*/ com.sun.star.util.URL aURL)
{
@@ -538,7 +538,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
null);
if (xListener!=null)
{
- System.out.println("interceptor disable SavAs by listener notify");
+ System.out.println("interceptor disable SaveAs by listener notify");
xListener.statusChanged(aEvent);
}
}*/
@@ -572,7 +572,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* This class listen on the intercepted frame to free all used resources on closing.
* We forget the reference to the frame only here. Deregistration
- * isn't necessary here - because this frame dies and wish to forgoten.
+ * isn't necessary here - because this frame dies and wish to be forgotten.
*
* @param aSource
* must be our internal saved frame, on which we listen for frame action events