diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java index 6e6a6baea9ff..b048e7d0f857 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java @@ -110,7 +110,7 @@ public class XMLMetaImporter extends TestCase { @Override public synchronized TestEnvironment createTestEnvironment( TestParameters tParam, PrintWriter log ) - throws StatusException { + throws Exception { XInterface oObj = null; Object oInt = null ; @@ -122,13 +122,8 @@ public class XMLMetaImporter extends TestCase { XMultiServiceFactory xMSF = tParam.getMSF() ; - try { - oInt = xMSF.createInstance - ("com.sun.star.comp.Writer.XMLMetaImporter") ; - } 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.XMLMetaImporter") ; oObj = (XInterface) oInt ; |