summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java
index ac25648db583..e673db24430f 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java
@@ -110,7 +110,7 @@ public class XMLStylesImporter extends TestCase {
@Override
public synchronized TestEnvironment createTestEnvironment( TestParameters tParam,
PrintWriter log )
- throws StatusException {
+ throws Exception {
XInterface oObj = null;
Object oInt = null ;
@@ -122,14 +122,8 @@ public class XMLStylesImporter extends TestCase {
XMultiServiceFactory xMSF = tParam.getMSF() ;
- try {
- oInt = xMSF.createInstance
- ("com.sun.star.comp.Writer.XMLStylesImporter") ;
-
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace(log) ;
- throw new StatusException("Can't create component.", e) ;
- }
+ oInt = xMSF.createInstance
+ ("com.sun.star.comp.Writer.XMLStylesImporter") ;
oObj = (XInterface) oInt ;