summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java b/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
index 93c907d9d722..31d8e57f251f 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
@@ -106,7 +106,7 @@ public class SwXTextGraphicObject extends TestCase {
(xTextDoc,"com.sun.star.text.GraphicObject");
instance = SOF.createInstance
(xTextDoc,"com.sun.star.text.GraphicObject");
- xTextFrame = SOF.createTextFrame(xTextDoc, 500, 500);
+ xTextFrame = SOfficeFactory.createTextFrame(xTextDoc, 500, 500);
}
catch (Exception ex) {
log.println("Couldn't create instance");