diff options
author | Noel Power <npower@openoffice.org> | 2003-06-04 16:01:46 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2003-06-04 16:01:46 +0000 |
commit | 7e85b4f614f2a432fe1f8d780640418279315d54 (patch) | |
tree | fb810ac762a59a3e77103589347fface623ed94f /scripting/workben | |
parent | eb9b1bb0bca4199495ba8658e1debf3b376d8518 (diff) |
Bug #12556 legacy code in ScriptBinding.xba erroneously updated start of xml line positions for menu items by decrementing line count, as of OooED0.2 when lines are deleted internal array is not reordered but a array is updated with a blank line when an entry is deleted.
Diffstat (limited to 'scripting/workben')
-rw-r--r-- | scripting/workben/bindings/ScriptBinding.xba | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripting/workben/bindings/ScriptBinding.xba b/scripting/workben/bindings/ScriptBinding.xba index e25ab0718968..562ded5c3f12 100644 --- a/scripting/workben/bindings/ScriptBinding.xba +++ b/scripting/workben/bindings/ScriptBinding.xba @@ -975,9 +975,6 @@ sub UpdateTopLevelMenus( topLevelMenuPosition as integer, addLine as boolean ) for n = topLevelMenuPosition to 8 if addLine then menuItemLinePosition( n ) = menuItemLinePosition( n ) + 1 - else - menuItemLinePosition( n ) = menuItemLinePosition( n ) - 1 - end if next n end sub |