summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-22 13:20:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-22 20:21:48 +0100
commit420a65c107551156e69578c432261dd6dc7b882b (patch)
tree18f037329d5d697b948fa7dcfc77be5a3e88deaa /bin
parent1c7d3390022908cfbfd30f55e8c0c3b60a045da7 (diff)
Revert "unused SID command in starmath"
This reverts commit b9c6f2de8bdcdcb95fb4f0457ee2fd0e1c42eb5b. Change-Id: Ice33baa738c025de72ceb11cf6746e017fb27484 Reviewed-on: https://gerrit.libreoffice.org/46964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find-unused-sid-commands.py4
1 files changed, 1 insertions, 3 deletions
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)