summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java14
1 files changed, 3 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
index b17b1136646a..36b1bc7e7856 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -71,17 +70,10 @@ public class XMLStylesExporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a calc document" );
- xSheetDoc = SOF.openDoc("scalc","_blank");
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a calc document" );
+ xSheetDoc = SOF.openDoc("scalc","_blank");
}
/**