diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java index da7f7c98c0ba..744d993c831d 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java +++ b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -109,9 +109,9 @@ public class _XTextRangeCompare extends MultiMethodTest { /** * One cursor is created and to its position a paragraph * inserted, then the fist five characters was selected. - * A second cursor was created and the last 7 characteres + * A second cursor was created and the last 7 characteres * was selected.<p> - * + * * Has <b>OK</b> status if the compare returns 1, i.e. * the second cursor end is before the first. */ @@ -124,7 +124,7 @@ public class _XTextRangeCompare extends MultiMethodTest { cursor1 = oText.createTextCursor(); oText.insertString(cursor1, nameStr, false); - cursor1.gotoStart(false); + cursor1.gotoStart(false); cursor1.goRight((short)5, true); cursor2 = oText.createTextCursor(); cursor2.gotoEnd(false); @@ -136,7 +136,7 @@ public class _XTextRangeCompare extends MultiMethodTest { log.println("check: oObj.compareRegionStarts(cursor1, cursor2)"); n = oObj.compareRegionEnds(cursor1, cursor2); - + log.println( "Result (short) : " + n ); }catch(com.sun.star.lang.IllegalArgumentException e){ log.println( "Exception: " + e); @@ -150,9 +150,9 @@ public class _XTextRangeCompare extends MultiMethodTest { /** * One cursor is created and to its position a paragraph * inserted, then the fist five characters was selected. - * A second cursor was created and the last 7 characters + * A second cursor was created and the last 7 characters * was selected.<p> - * + * * Has <b>OK</b> status if the compare returns 1, i.e. * the second cursor start is before the first. */ @@ -164,7 +164,7 @@ public class _XTextRangeCompare extends MultiMethodTest { cursor1 = oText.createTextCursor(); oText.insertString(cursor1, nameStr, false); - cursor1.gotoStart(false); + cursor1.gotoStart(false); cursor1.goRight((short)5, true); cursor2 = oText.createTextCursor(); cursor2.gotoEnd(false); @@ -175,7 +175,7 @@ public class _XTextRangeCompare extends MultiMethodTest { log.println("cursor2: '"+cursor2.getString() + "'"); log.println("check: oObj.compareRegionStarts(cursor1, cursor2)"); n = oObj.compareRegionStarts(cursor1, cursor2); - + log.println( "Result (short) : " + n ); }catch(com.sun.star.lang.IllegalArgumentException e){ log.println( "Exception: " + e); |