diff options
author | Noel Power <npower@openoffice.org> | 2003-02-25 14:32:55 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2003-02-25 14:32:55 +0000 |
commit | ba7de17db7f60296ef95d6b57d9edecac44851ec (patch) | |
tree | e893f56d0ca0401025ecc740cfb1feac4f8fe94d /scripting/workben | |
parent | d1cd08e3ddac7478e637c476b8946b7b975c58cb (diff) |
Use fully qualified uris, otherwise potentially the doc security could prevent script from resolving.
Diffstat (limited to 'scripting/workben')
-rw-r--r-- | scripting/workben/bindings/ScriptBinding.xba | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/workben/bindings/ScriptBinding.xba b/scripting/workben/bindings/ScriptBinding.xba index 94749f534c3b..7ee4f47af7ec 100644 --- a/scripting/workben/bindings/ScriptBinding.xba +++ b/scripting/workben/bindings/ScriptBinding.xba @@ -608,7 +608,7 @@ Sub UpdateCfgFile ( fileName as String ) args(0) = ThisComponent FuncProvider = createUnoService("drafts.com.sun.star.script.framework.provider.FunctionProvider") FuncProvider.initialize( args() ) - Func = FuncProvider.getFunction("script://ScriptFrmwrkHelper.updateCfgFile") + Func = FuncProvider.getFunction("script://ScriptFrmwrkHelper.updateCfgFile?language=Java+function=ScriptFrmwrkHelper.updateCfgFile+location=user") Dim inArgs(2) Dim outArgs() Dim outIndex() @@ -1703,10 +1703,10 @@ sub DeleteEvent( event as String ) dim args(0) as new com.sun.star.beans.PropertyValue args(0).Name = "" args(0).Value = event - url.Complete = "script://ScriptFrmwrkHelper.removeEvent" + url.Complete = "script://ScriptFrmwrkHelper.removeEvent?language=Java+function=ScriptFrmwrkHelper.removeEvent+location=user" parser.parseStrict(url) disp = document.queryDispatch(url,"",0) disp.dispatch(url,args()) end sub -</script:module>
\ No newline at end of file +</script:module> |