diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXCell.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXCell.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXCell.java b/qadevOOo/tests/java/mod/_sw/SwXCell.java index a6f3aefc08f1..257c699aeccf 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXCell.java +++ b/qadevOOo/tests/java/mod/_sw/SwXCell.java @@ -92,18 +92,18 @@ public class SwXCell extends TestCase { SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() ); log.println( "creating a test environment" ); try { - oTable = SOF.createTextTable(xTextDoc, 3, 4); + oTable = SOfficeFactory.createTextTable(xTextDoc, 3, 4); } catch ( com.sun.star.uno.Exception e ) { log.println("Unable to create TextTable..."); e.printStackTrace(log); } try { - SOF.insertTextContent( xTextDoc, oTable ); + SOfficeFactory.insertTextContent( xTextDoc, oTable ); } catch ( com.sun.star.lang.IllegalArgumentException e ) { log.println("Unable to insert TextContent..."); e.printStackTrace(log); } - oObj = SOF.getFirstTableCell( oTable ); + oObj = SOfficeFactory.getFirstTableCell( oTable ); log.println( " creating a new environment for bodytext object" ); TestEnvironment tEnv = new TestEnvironment( oObj ); |