summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-03-25 21:12:16 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-03-25 21:12:16 +0100
commit25d3c618d831036c08194610f188e4781c135cfc (patch)
treeff5adadb16effa6262ce65a030b7c673fe180a91 /odk
parent5584d73f2db413889347b4b3a1fcaf124db02b21 (diff)
Typo: formated->formatted
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java2
-rw-r--r--odk/examples/java/Text/HardFormatting.java8
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;
}