From 71403558cbffb6c1ce1c4993a177bf3364941e22 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 27 Mar 2017 13:10:22 +0200 Subject: 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 Tested-by: Noel Grandin --- bin/list-dispatch-commands.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') 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++; -- cgit