summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 12:36:35 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 12:36:35 +0000
commitf23198edb4d8382a88e4be46499c9136828a2b3a (patch)
tree0fb025045553615985370dbe64d4da3707c840ae /qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
parentINTEGRATION: CWS qadev6 (1.2.2); FILE MERGED (diff)
downloadcore-f23198edb4d8382a88e4be46499c9136828a2b3a.tar.gz
core-f23198edb4d8382a88e4be46499c9136828a2b3a.zip
INTEGRATION: CWS qadev6 (1.2.8); FILE MERGED
2003/05/21 10:58:06 sg 1.2.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java')
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java b/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
index 0895e8346a3f..f83a82d856be 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
@@ -2,9 +2,9 @@
*
* $RCSfile: SvxGraphicObject.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-02-10 08:59:22 $
+ * last change:$Date: 2003-05-27 13:36:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -148,7 +148,7 @@ public class SvxGraphicObject extends TestCase {
protected void initialize( TestParameters tParam, PrintWriter log ) {
log.println( "creating a drawdoc" );
- xDrawDoc = DrawTools.createDrawDoc(tParam.getMSF());
+ xDrawDoc = DrawTools.createDrawDoc((XMultiServiceFactory)tParam.getMSF());
}
/**
@@ -200,7 +200,7 @@ public class SvxGraphicObject extends TestCase {
log.println( "creating a test environment" );
// create testobject here
- SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
+ SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF());
oShape = SOF.createShape(xDrawDoc,5000,5000,1500,1000,"GraphicObject");
DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape);
oObj = oShape;
@@ -293,4 +293,4 @@ public class SvxGraphicObject extends TestCase {
} // finish method getTestEnvironment
-} // finish class SvxGraphicObject \ No newline at end of file
+} // finish class SvxGraphicObject