summaryrefslogtreecommitdiff
path: root/sw/qa/complex/writer/CheckTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/complex/writer/CheckTable.java')
-rw-r--r--sw/qa/complex/writer/CheckTable.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/complex/writer/CheckTable.java b/sw/qa/complex/writer/CheckTable.java
index 6fe9b28034d4..50ce8c76c64e 100644
--- a/sw/qa/complex/writer/CheckTable.java
+++ b/sw/qa/complex/writer/CheckTable.java
@@ -279,8 +279,7 @@ public class CheckTable
XTextRange xAnchor = xTable.getAnchor();
// check all properties on the anchor - shouldn't crash despite
// pointing to a non-SwTxtNode
- XPropertySet xProps = (XPropertySet)
- UnoRuntime.queryInterface(XPropertySet.class, xAnchor);
+ XPropertySet xProps = UnoRuntime.queryInterface(XPropertySet.class, xAnchor);
XPropertySetInfo xPropsInfo = xProps.getPropertySetInfo();
Property[] props = xPropsInfo.getProperties();
for (int i = 0; i < props.length; ++i)