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 1b10f7d50dcb..d0d2c5756daf 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
@@ -127,7 +127,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);
}
@@ -245,7 +245,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