summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXTableCellText.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTableCellText.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java b/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
index 359d2ec4c84c..a8ba04cd475c 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
@@ -122,13 +122,7 @@ public class SwXTableCellText extends TestCase {
log.println( "Creating a test environment" );
oTable = SOfficeFactory.createTextTable( xTextDoc );
- try {
- SOfficeFactory.insertTextContent(xTextDoc, oTable );
- } catch ( com.sun.star.lang.IllegalArgumentException e ) {
- e.printStackTrace( log );
- throw new StatusException("Couldn't insert text content : "
- +e.getMessage(),e);
- }
+ SOfficeFactory.insertTextContent(xTextDoc, oTable );
XCell oCell = oTable.getCellByName("A1");
XSimpleText oCellText = UnoRuntime.queryInterface(XSimpleText.class, oCell);