From 8d87758d65e4a03271f76e354dfc84c1fcd5fe21 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 17 Apr 2013 14:59:35 +0200 Subject: Java cleanup, remove the rest of the unnecessary casts Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- sw/qa/complex/writer/CheckTable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/qa/complex') 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) -- cgit v1.2.3