diff options
author | Duncan Foster <dfoster@openoffice.org> | 2003-06-12 10:09:10 +0000 |
---|---|---|
committer | Duncan Foster <dfoster@openoffice.org> | 2003-06-12 10:09:10 +0000 |
commit | 66180d038204986a80cd7e4213842754ed776d8f (patch) | |
tree | 60e7f32e2ef56ab684810ada1e3eb9665747f8ec /scripting | |
parent | ce62957bc2566723fe9f73252a9fc6d7ecb063dc (diff) |
#i15516#
Selecting language Java with location filesystem cases basic error
Soln: No filesys scripts if language is Java so simply exit
update subroutine
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/workben/bindings/ScriptBinding.xba | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripting/workben/bindings/ScriptBinding.xba b/scripting/workben/bindings/ScriptBinding.xba index c086761faf02..40b184917d5e 100644 --- a/scripting/workben/bindings/ScriptBinding.xba +++ b/scripting/workben/bindings/ScriptBinding.xba @@ -1057,6 +1057,9 @@ sub PopulateScriptList( lang as String, loc as String ) scriptLocationURI = document.getURL() elseif ( loc = "Filesystem" ) then REM populate the list from the filesysScripts list + if(lang = "Java" ) then + exit sub + endif length = UBOUND( filesysScripts() ) if(length = -1) then exit sub |