summaryrefslogtreecommitdiff
path: root/bridges/test/java_uno/nativethreadpool/Relay.java
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/test/java_uno/nativethreadpool/Relay.java')
-rw-r--r--bridges/test/java_uno/nativethreadpool/Relay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/test/java_uno/nativethreadpool/Relay.java b/bridges/test/java_uno/nativethreadpool/Relay.java
index b7e304c4a3c9..03cf6795c596 100644
--- a/bridges/test/java_uno/nativethreadpool/Relay.java
+++ b/bridges/test/java_uno/nativethreadpool/Relay.java
@@ -63,7 +63,7 @@ public final class Relay implements XRelay, XSource {
final XAcceptor acceptor = Acceptor.create(context);
final XBridgeFactory factory;
try {
- factory = (XBridgeFactory) UnoRuntime.queryInterface(
+ factory = UnoRuntime.queryInterface(
XBridgeFactory.class,
context.getServiceManager().createInstanceWithContext(
"com.sun.star.bridge.BridgeFactory", context));