summaryrefslogtreecommitdiff
path: root/odk/examples/java
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/examples/java
parent5584d73f2db413889347b4b3a1fcaf124db02b21 (diff)
Typo: formated->formatted
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
Diffstat (limited to 'odk/examples/java')
-rw-r--r--odk/examples/java/Text/HardFormatting.java8
1 files changed, 4 insertions, 4 deletions
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;
}