summaryrefslogtreecommitdiff
path: root/scripting/workben
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2003-02-25 14:32:55 +0000
committerNoel Power <npower@openoffice.org>2003-02-25 14:32:55 +0000
commitba7de17db7f60296ef95d6b57d9edecac44851ec (patch)
treee893f56d0ca0401025ecc740cfb1feac4f8fe94d /scripting/workben
parentd1cd08e3ddac7478e637c476b8946b7b975c58cb (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.xba6
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(&quot;drafts.com.sun.star.script.framework.provider.FunctionProvider&quot;)
FuncProvider.initialize( args() )
- Func = FuncProvider.getFunction(&quot;script://ScriptFrmwrkHelper.updateCfgFile&quot;)
+ Func = FuncProvider.getFunction(&quot;script://ScriptFrmwrkHelper.updateCfgFile?language=Java+function=ScriptFrmwrkHelper.updateCfgFile+location=user&quot;)
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 = &quot;&quot;
args(0).Value = event
- url.Complete = &quot;script://ScriptFrmwrkHelper.removeEvent&quot;
+ url.Complete = &quot;script://ScriptFrmwrkHelper.removeEvent?language=Java+function=ScriptFrmwrkHelper.removeEvent+location=user&quot;
parser.parseStrict(url)
disp = document.queryDispatch(url,&quot;&quot;,0)
disp.dispatch(url,args())
end sub
-</script:module> \ No newline at end of file
+</script:module>