diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java b/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java index cfb08074ef80..b0bc8f5b3368 100644 --- a/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java +++ b/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java @@ -241,14 +241,13 @@ public class _XSchema extends MultiMethodTest { XInputStream xStream = null; try { Object fileacc = ((XMultiServiceFactory)tParam.getMSF()).createInstance("com.sun.star.comp.ucb.SimpleFileAccess"); - simpleAccess = (XSimpleFileAccess) - UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc); + simpleAccess = UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc); log.println("Going to parse: "+filename); xStream = simpleAccess.openFileRead(filename); } catch (com.sun.star.uno.Exception e) { } - XActiveDataSink xSink = (XActiveDataSink) UnoRuntime.queryInterface(XActiveDataSink.class, oObj); + XActiveDataSink xSink = UnoRuntime.queryInterface(XActiveDataSink.class, oObj); xSink.setInputStream(xStream); } }
\ No newline at end of file |