summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXCellRange.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXCellRange.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXCellRange.java b/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
index fc08a8db26ba..7b60a1f6c770 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
@@ -20,7 +20,6 @@ package mod._sw;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -57,15 +56,10 @@ public class SwXCellRange 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 );
}
/**