summaryrefslogtreecommitdiff
path: root/ucb/qa/complex/tdoc/_XCommandProcessor.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-04-17 14:59:35 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-19 07:52:08 +0000
commit8d87758d65e4a03271f76e354dfc84c1fcd5fe21 (patch)
treebc8f4f0df6981ad10fe1333db1a2b015ea079709 /ucb/qa/complex/tdoc/_XCommandProcessor.java
parentd62425cc27e04a3237cfec2ea2663b8b11284ec8 (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 'ucb/qa/complex/tdoc/_XCommandProcessor.java')
-rw-r--r--ucb/qa/complex/tdoc/_XCommandProcessor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/qa/complex/tdoc/_XCommandProcessor.java b/ucb/qa/complex/tdoc/_XCommandProcessor.java
index 985d02b56a3a..1dd61cceb900 100644
--- a/ucb/qa/complex/tdoc/_XCommandProcessor.java
+++ b/ucb/qa/complex/tdoc/_XCommandProcessor.java
@@ -138,7 +138,7 @@ public class _XCommandProcessor {
boolean found = false;
- XCommandInfo xCmdInfo = (XCommandInfo)UnoRuntime.queryInterface(
+ XCommandInfo xCmdInfo = UnoRuntime.queryInterface(
XCommandInfo.class, result);
if (xCmdInfo != null) {
CommandInfo[] cmdInfo = xCmdInfo.getCommands();
@@ -151,7 +151,7 @@ public class _XCommandProcessor {
}
}
- XPropertySetInfo xPropInfo = (XPropertySetInfo)UnoRuntime.queryInterface(
+ XPropertySetInfo xPropInfo = UnoRuntime.queryInterface(
XPropertySetInfo.class, result);
if (xPropInfo != null) {
Property[] props = xPropInfo.getProperties();