diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /odk/examples/java | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'odk/examples/java')
-rw-r--r-- | odk/examples/java/Text/HardFormatting.java | 4 | ||||
-rw-r--r-- | odk/examples/java/Text/StyleInitialization.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/java/Text/HardFormatting.java b/odk/examples/java/Text/HardFormatting.java index 6ed8296fa500..559c9b98fb16 100644 --- a/odk/examples/java/Text/HardFormatting.java +++ b/odk/examples/java/Text/HardFormatting.java @@ -65,7 +65,7 @@ public class HardFormatting { String sMyText = "A very short paragraph for illustration only"; - // you can travel with the cursor throught the text document. + // you can travel with the cursor through the text document. // you travel only at the model, not at the view. The cursor that you can // see on the document doesn't change the position com.sun.star.text.XTextCursor xTextCursor = null; @@ -86,7 +86,7 @@ public class HardFormatting { xPropertySet = UnoRuntime.queryInterface( com.sun.star.beans.XPropertySet.class, xTextRange); - // create a paragraph cursor to travel throught the paragraphs + // create a paragraph cursor to travel through the paragraphs com.sun.star.text.XParagraphCursor xParagraphCursor = null; xParagraphCursor = UnoRuntime.queryInterface( com.sun.star.text.XParagraphCursor.class, xTextRange); diff --git a/odk/examples/java/Text/StyleInitialization.java b/odk/examples/java/Text/StyleInitialization.java index be65e05bf6fa..ea5191ebb227 100644 --- a/odk/examples/java/Text/StyleInitialization.java +++ b/odk/examples/java/Text/StyleInitialization.java @@ -66,7 +66,7 @@ public class StyleInitialization { String sMyText = "A very short paragraph for illustration only"; - // you can travel with the cursor throught the text document. + // you can travel with the cursor through the text document. // you travel only at the model, not at the view. The cursor that you can // see on the document doesn't change the position com.sun.star.text.XTextCursor xTextCursor = null; @@ -109,7 +109,7 @@ public class StyleInitialization { // END: 'Style basics' Section from the Tutorial - // There are two way to travel throught the paragraphs, with a + // There are two way to travel through the paragraphs, with a // paragraph cursor, or a enumeration. // You find both ways in this example |