diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sd/SdDrawPage.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sd/SdDrawPage.java | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/SdDrawPage.java b/qadevOOo/tests/java/mod/_sd/SdDrawPage.java index e7754d50eb92..bcf8f963060d 100644 --- a/qadevOOo/tests/java/mod/_sd/SdDrawPage.java +++ b/qadevOOo/tests/java/mod/_sd/SdDrawPage.java @@ -20,7 +20,6 @@ package mod._sd; import java.io.PrintWriter; -import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; @@ -90,19 +89,12 @@ public class SdDrawPage extends TestCase { * Creates Drawing document. */ @Override - protected void initialize(TestParameters Param, PrintWriter log) { + protected void initialize(TestParameters Param, PrintWriter log) throws Exception { // get a soffice factory object SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF()); - - try { - log.println( "creating a draw document" ); - xDrawDoc = SOF.createDrawDoc(null); - } 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 draw document" ); + xDrawDoc = SOF.createDrawDoc(null); } /** |