diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXShape.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXShape.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXShape.java b/qadevOOo/tests/java/mod/_sw/SwXShape.java index f1ec1650f789..e3309db612cf 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXShape.java +++ b/qadevOOo/tests/java/mod/_sw/SwXShape.java @@ -66,15 +66,10 @@ public class SwXShape extends TestCase { * Creates text document. */ @Override - protected void initialize( TestParameters tParam, PrintWriter log ) { + protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception { SOF = SOfficeFactory.getFactory( tParam.getMSF() ); - try { - log.println( "creating a textdocument" ); - xTextDoc = SOF.createTextDoc( null ); - } catch ( com.sun.star.uno.Exception e ) { - e.printStackTrace( log ); - throw new StatusException( "Couldn't create document", e ); - } + log.println( "creating a textdocument" ); + xTextDoc = SOF.createTextDoc( null ); } /** |