Java cleanup, fix compile errors

Change-Id: Ia16a54432291935125d53de9d7cc010917b8373d
This commit is contained in:
Noel Grandin
2012-09-03 10:44:20 +02:00
committed by Michael Stahl
parent bc6a9e9b47
commit bb257014cd
6 changed files with 7 additions and 6 deletions

View File

@@ -19,6 +19,7 @@
package mod._scripting;
import com.sun.star.uno.XInterface;
import com.sun.star.lang.XMultiServiceFactory;
import java.io.PrintWriter;
import lib.StatusException;
import lib.TestCase;
@@ -38,7 +39,7 @@ public class ScriptRuntimeManager extends TestCase {
XInterface oObj = null;
try {
oObj = (XInterface) Param.getMSF().createInstance
oObj = (XInterface) ((XMultiServiceFactory)Param.getMSF()).createInstance
("drafts.com.sun.star.script.framework.runtime.ScriptRuntimeManager");
} catch (com.sun.star.uno.Exception e) {
throw new StatusException("Can't create object environment", e) ;