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>
This commit is contained in:
Noel Grandin
2013-04-19 07:52:08 +00:00
committed by Fridrich Strba
parent d62425cc27
commit 8d87758d65
141 changed files with 1514 additions and 1919 deletions
@@ -52,7 +52,7 @@ public class TestJavaComponent
XMultiComponentFactory serviceManager, Object singleFactory )
throws com.sun.star.uno.Exception
{
XSet set = (XSet ) UnoRuntime.queryInterface( XSet.class, serviceManager );
XSet set = UnoRuntime.queryInterface( XSet.class, serviceManager );
set.insert( singleFactory );
}
@@ -60,7 +60,7 @@ public class TestJavaComponent
XMultiComponentFactory serviceManager, Object singleFactory )
throws com.sun.star.uno.Exception
{
XSet set = (XSet ) UnoRuntime.queryInterface( XSet.class, serviceManager );
XSet set = UnoRuntime.queryInterface( XSet.class, serviceManager );
set.remove( singleFactory );
}