Kaydet (Commit) 9d9a9dd7 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

Java cleanup, fix a couple of compile errors

Change-Id: I83a51dc7a68413d9fea16c8cafdb82e665940775
üst 854bd8b3
......@@ -58,7 +58,7 @@ public class Dispatch extends TestCase {
URL dispatchURL = null;
try {
XMultiServiceFactory xMSF = tParam.getMSF();
XMultiServiceFactory xMSF = (XMultiServiceFactory) tParam.getMSF();
SOfficeFactory SOF = null;
SOF = SOfficeFactory.getFactory( xMSF );
String docPath = util.utils.getFullTestURL( "ExampleSpreadSheetLatest.sxc" );
......@@ -70,7 +70,7 @@ public class Dispatch extends TestCase {
XURLTransformer xParser=(XURLTransformer)
UnoRuntime.queryInterface(XURLTransformer.class,
tParam.getMSF().createInstance
((XMultiServiceFactory)tParam.getMSF()).createInstance
("com.sun.star.util.URLTransformer"));
// Because it's an in/out parameter we must use an array of
// URL objects.
......
......@@ -59,9 +59,6 @@ public class TestApplet extends java.applet.Applet {
}catch( IOException e) {
String s= e.getMessage();
System.out.println(s);
}catch( SandboxSecurityException sse) {
String s= sse.getMessage();
System.out.println("s");
}
// catch( Exception ex) {
// String s= ex.getMessage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment