diff options
Diffstat (limited to 'odk/examples')
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Text/HardFormatting.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 9d9116c6398f..0aa3fde333a9 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -64,7 +64,7 @@ public class FunctionHelper /** - * This convert an URL (formated as a string) to a struct com.sun.star.util.URL. + * This convert an URL (formatted as a string) to a struct com.sun.star.util.URL. * It use a special service to do that: the URLTransformer. * Because some API calls need it and it's not allowed to set "Complete" * part of the util struct only. The URL must be parsed. diff --git a/odk/examples/java/Text/HardFormatting.java b/odk/examples/java/Text/HardFormatting.java index 559c9b98fb16..4b00ad333945 100644 --- a/odk/examples/java/Text/HardFormatting.java +++ b/odk/examples/java/Text/HardFormatting.java @@ -130,7 +130,7 @@ public class HardFormatting { + xPropertySet.getPropertyValue("CharWeight").toString() ); // the PropertyState contains information where the attribute is set, - // is a text part hard formated or not. + // is a text part hard formatted or not. com.sun.star.beans.XPropertyState xPropertyState = null; xPropertyState = UnoRuntime.queryInterface( com.sun.star.beans.XPropertyState.class, xWordCursor); @@ -175,21 +175,21 @@ public class HardFormatting { case com.sun.star.beans.PropertyState.DIRECT_VALUE_value: { System.out.println( "-> The selection '" + xWordCursor.getString() - + "' completely hard formated" ); + + "' completely hard formatted" ); break; } case com.sun.star.beans.PropertyState.DEFAULT_VALUE_value: { System.out.println( "-> The selection '" + xWordCursor.getString() - + "' isn't hard formated" ); + + "' isn't hard formatted" ); break; } case com.sun.star.beans.PropertyState.AMBIGUOUS_VALUE_value: { System.out.println( "-> The selection '" + xWordCursor.getString() - + "' isn't completely hard formated" ); + + "' isn't completely hard formatted" ); break; } |