From 420a65c107551156e69578c432261dd6dc7b882b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 22 Dec 2017 13:20:16 +0200 Subject: Revert "unused SID command in starmath" This reverts commit b9c6f2de8bdcdcb95fb4f0457ee2fd0e1c42eb5b. Change-Id: Ice33baa738c025de72ceb11cf6746e017fb27484 Reviewed-on: https://gerrit.libreoffice.org/46964 Tested-by: Jenkins Reviewed-by: Noel Grandin --- bin/find-unused-sid-commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/find-unused-sid-commands.py') diff --git a/bin/find-unused-sid-commands.py b/bin/find-unused-sid-commands.py index c0e934b0b624..32f45e0f810a 100755 --- a/bin/find-unused-sid-commands.py +++ b/bin/find-unused-sid-commands.py @@ -42,12 +42,10 @@ for pair in commandSet: for line2 in txt2: foundLines = foundLines + line2 if foundLines.find("ExecuteList") != -1: continue - if foundLines.find("Dispatcher()->Execute") != -1: continue + if foundLines.find("GetDispatcher()->Execute") != -1: continue if foundLines.find("ExecuteScenarioSlot") != -1: continue # TODO not sure about this, but let's tackle the easy ones first if foundLines.find("Invalidate(") != -1: continue - if foundLines.find("SFX_IMPL_DOCKINGWINDOW_WITHID") != -1: continue - # dump any lines that contain the SID, so we can eyeball the results print("remove: " + commandName) -- cgit