forked from amazingfate/loongoffice
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:
committed by
Fridrich Strba
parent
d62425cc27
commit
8d87758d65
@ -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 );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user