Java cleanup, fix compile errors
Change-Id: Ia16a54432291935125d53de9d7cc010917b8373d
This commit is contained in:
committed by
Michael Stahl
parent
bc6a9e9b47
commit
bb257014cd
@@ -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) ;
|
||||
|
Reference in New Issue
Block a user