summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
index 26e15bdbbc39..b3c0170b7cf4 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
@@ -116,7 +116,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
}
}
catch ( com.sun.star.uno.RuntimeException ex ) {
- // something strange has happend!
+ // something strange has happened!
System.out.println( " Sample caught exception! " + ex );
System.exit(1);
}
@@ -234,7 +234,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
// we used an invalid index for accessing a container
}
catch ( com.sun.star.uno.Exception ex ) {
- // something strange has happend!
+ // something strange has happened!
}
catch ( java.lang.Exception ex ) {
// catch java exceptions and something useful