diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-17 14:59:35 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-19 07:52:08 +0000 |
commit | 8d87758d65e4a03271f76e354dfc84c1fcd5fe21 (patch) | |
tree | bc8f4f0df6981ad10fe1333db1a2b015ea079709 /sw | |
parent | d62425cc27e04a3237cfec2ea2663b8b11284ec8 (diff) |
Java cleanup, remove the rest of the unnecessary casts
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa
Reviewed-on: https://gerrit.libreoffice.org/3432
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/complex/writer/CheckTable.java | 3 |
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) |