summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
index 90dbbe9728b2..3b6d0865696d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
@@ -18,7 +18,6 @@
package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -91,17 +90,11 @@ public class ScCellRangeObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- 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 Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**