diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-27 13:10:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-28 08:24:51 +0000 |
commit | 71403558cbffb6c1ce1c4993a177bf3364941e22 (patch) | |
tree | 76aeee13c28f3c4177d5e3f5c9348d6b88f3abc4 /bin | |
parent | dad9627997f4e4d37d31c36b4125e572406af0f2 (diff) |
remove PseudoSlot support from idl compiler
Since we have removed the last usage with
commit 12c6caa84a61f23df996a0396432fa4b8d5c4785
"Kill remaining PseudoSlots usage"
And remove corresponding support from the list-dispatch-commands script.
Also remove the now unused SFX_NEW_SLOT_ENUM macro
Change-Id: Id07c431de4404acf61a8bdd3507e390e5249879a
Reviewed-on: https://gerrit.libreoffice.org/35754
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/list-dispatch-commands.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/list-dispatch-commands.php b/bin/list-dispatch-commands.php index 7519be9d3f07..b3e5262b0adc 100755 --- a/bin/list-dispatch-commands.php +++ b/bin/list-dispatch-commands.php @@ -48,11 +48,10 @@ function analyseFile($fileName) { $slotId = trim($tmp[1]); $index++; $aLine = $lines[$index]; - $isEnumSlot = strpos($aLine, 'SFX_NEW_SLOT_ENUM') !== FALSE; $tmp = explode(',', $aLine); $slotRID = $tmp[1]; - $index += $isEnumSlot ? 4 : 3; + $index += 3; $aLine = $lines[$index]; $mode = ""; addMode($mode, $aLine, "CACHABLE", "C"); @@ -60,7 +59,7 @@ function analyseFile($fileName) { addMode($mode, $aLine, "MENUCONFIG", "M"); addMode($mode, $aLine, "TOOLBOXCONFIG", "T"); addMode($mode, $aLine, "ACCELCONFIG", "A"); - $index += $isEnumSlot ? 1 : 3; + $index += 3; $aLine = $lines[$index]; if (strpos($aLine, '"') === FALSE) { $index++; |