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-17 14:59:35 +02:00
committed by Fridrich Strba
parent d62425cc27
commit 8d87758d65
141 changed files with 1514 additions and 1919 deletions

View File

@ -69,8 +69,7 @@ public class ScriptStorage extends TestCase {
XMultiServiceFactory xMSF = (XMultiServiceFactory) tParam.getMSF();
Object xInterface =
xMSF.createInstance( "com.sun.star.ucb.SimpleFileAccess" );
access = ( XSimpleFileAccess )
UnoRuntime.queryInterface( XSimpleFileAccess.class, xInterface );
access = UnoRuntime.queryInterface( XSimpleFileAccess.class, xInterface );
oObj = ( XInterface )xMSF.createInstanceWithArguments(
"drafts.com.sun.star.script.framework.storage.ScriptStorage",
new Object[]{ access, new Integer(99), docPath } );