diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/mod/_sw/SwXTextFrame.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (diff) |
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue May 31 17:39:08 2011 +0200
Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes:
split repo tag: testing_libreoffice-3.3.3.1
split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXTextFrame.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXTextFrame.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextFrame.java b/qadevOOo/tests/java/mod/_sw/SwXTextFrame.java index 64874119ca14..425faf20ef50 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXTextFrame.java +++ b/qadevOOo/tests/java/mod/_sw/SwXTextFrame.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 @@ -76,7 +76,7 @@ public class SwXTextFrame extends TestCase { /** * creating a Testenvironment for the interfaces to be tested */ - public synchronized TestEnvironment createTestEnvironment(TestParameters Param, + public synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) { XInterface oObj = null; XTextFrame oFrame1 = null; @@ -109,7 +109,7 @@ public class SwXTextFrame extends TestCase { // AnchorTypes: 0 = paragraph, 1 = as char, 2 = page, // 3 = frame/paragraph 4= at char - oPropSet.setPropertyValue("AnchorType", + oPropSet.setPropertyValue("AnchorType", TextContentAnchorType.AS_CHARACTER); oText = xTextDoc.getText(); oCursor = oText.createTextCursor(); @@ -126,10 +126,10 @@ public class SwXTextFrame extends TestCase { oText.insertTextContent(oCursor, the_content, true); XText oFrameText = oFrame1.getText(); - oFrameText.insertString(oFrameText.getStart(), "The FrameText", + oFrameText.insertString(oFrameText.getStart(), "The FrameText", true); - instance = SOF.createInstance(xTextDoc, + instance = SOF.createInstance(xTextDoc, "com.sun.star.text.TextFrame"); } catch (Exception Ex) { Ex.printStackTrace(log); @@ -142,12 +142,12 @@ public class SwXTextFrame extends TestCase { TestEnvironment tEnv = new TestEnvironment(oObj); - tEnv.addObjRelation("CONTENT", + tEnv.addObjRelation("CONTENT", (XTextContent) UnoRuntime.queryInterface( XTextContent.class, instance)); tEnv.addObjRelation("RANGE", xTextDoc.getText().createTextCursor()); - log.println("adding ObjRelation for XShape " + + log.println("adding ObjRelation for XShape " + "(get/setPosition won't work there)"); tEnv.addObjRelation("NoPos", "SwXTextFrame"); tEnv.addObjRelation("NoSetSize", "SwXTextFrame"); |