diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java index 1db475354957..1331d9130be0 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java @@ -20,7 +20,6 @@ package mod._xmloff.Impress; import java.io.PrintWriter; -import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; @@ -66,19 +65,13 @@ public class XMLImporter extends TestCase { * New impress document created. */ @Override - protected void initialize( TestParameters tParam, PrintWriter log ) { + protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception { // get a soffice factory object SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF()); - try { - log.println( "creating an impress document" ); - xImpressDoc = SOF.createImpressDoc(null); - } catch ( Exception e ) { - // Some exception occurs.FAILED - e.printStackTrace( log ); - throw new StatusException( "Couldn't create document", e ); - } + log.println( "creating an impress document" ); + xImpressDoc = SOF.createImpressDoc(null); } /** |