summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/XMLContentImporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLContentImporter.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java b/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
index e28378cd3d87..47c825b34bb0 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
@@ -107,7 +107,7 @@ public class XMLContentImporter extends TestCase {
@Override
public synchronized TestEnvironment createTestEnvironment( TestParameters tParam,
PrintWriter log )
- throws StatusException {
+ throws Exception {
XInterface oObj = null;
Object oInt = null ;
@@ -119,13 +119,8 @@ public class XMLContentImporter extends TestCase {
XMultiServiceFactory xMSF = tParam.getMSF() ;
- try {
- oInt = xMSF.createInstance
- ("com.sun.star.comp.Writer.XMLContentImporter") ;
- } 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.XMLContentImporter") ;
oObj = (XInterface) oInt ;