diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScChartObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScChartObj.java | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScChartObj.java b/qadevOOo/tests/java/mod/_sc/ScChartObj.java index d2530fa76296..6b1515b3e5e8 100644 --- a/qadevOOo/tests/java/mod/_sc/ScChartObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScChartObj.java @@ -20,7 +20,6 @@ package mod._sc; import java.io.PrintWriter; -import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; @@ -68,18 +67,11 @@ public class ScChartObj extends TestCase { * Creates Spreadsheet document. */ @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 a sheetdocument" ); - xSheetDoc = SOF.createCalcDoc(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 sheetdocument" ); + xSheetDoc = SOF.createCalcDoc(null); } /** |