summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-31 10:30:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-01 06:48:13 +0000
commitfa135fd0e05fc4ba784b4349d65f2e5ed26c0f55 (patch)
treedfe79dd3f61f872b9e6b788444631285774e17ac /sd/inc
parent79aaa464134970b15f6858f98cb9f8e37aced23c (diff)
remove unused SID constants and associated code
found with a python script that looks like: process = subprocess.Popen( "git ls-files *.hrc | xargs grep -hE '#define +SID_' | cut -d ' ' -f 2 | sort -u", shell=True, stdout=subprocess.PIPE) for line in iter(process.stdout.readline, b''): line = line.strip() if line.startswith("//"): continue if line.startswith("sfx"): continue if len(line) < 10: continue i = subprocess.check_output("git grep -nP \"#define +" + line + " \"", shell=True) if i.count("#define") < 2: continue print line + " " + i Change-Id: I40eac2569c2b5b129d9459cb723a9d6f26d09264 Reviewed-on: https://gerrit.libreoffice.org/25715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/app.hrc6
1 files changed, 0 insertions, 6 deletions
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
index e9b5755e2aaa..70d730a61dcc 100644
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -80,8 +80,6 @@
#define SID_PRESENTATION_END (SID_SD_START+18)
// FREE
#define SID_POSITION (SID_SD_START+22)
-#define SID_MIRROR (SID_SD_START+23)
-#define SID_CONVERT (SID_SD_START+24)
// FREE
#define SID_COMBINE (SID_SD_START+26)
#define SID_NAME_GROUP (SID_SD_START+27)
@@ -127,7 +125,6 @@
// In svxids.hrc: SID_BEZIER_CONVERT (SID_SD_START+65)
// In svxids.hrc: SID_BEZIER_EDGE (SID_SD_START+66)
// In svxids.hrc: SID_BEZIER_SYMMTR (SID_SD_START+67)
-#define SID_PRESENTATION_TEMPLATES (SID_SD_START+68)
#define SID_NOTES_MODE (SID_SD_START+69)
#define SID_HANDOUT_MASTER_MODE (SID_SD_START+70)
#define SID_LINEEND_POLYGON (SID_SD_START+71)
@@ -290,7 +287,6 @@
// In svxids.hrc: SID_BEZIERTO (SID_SD_START+252)
#define SID_PAGESIZE (SID_SD_START+253)
#define SID_PAGEMARGIN (SID_SD_START+254)
-#define SID_ZOOMING (SID_SD_START+255)
#define SID_SELECTAT (SID_SD_START+256)
#define SID_COLORVIEW (SID_SD_START+257)
// FREE
@@ -401,7 +397,6 @@
#define SID_OUTPUT_QUALITY_BLACKWHITE (SID_SD_START+368)
#define SID_PREVIEW_QUALITY_COLOR (SID_SD_START+369)
// FREE
-#define SID_VECTORIZE (SID_SD_START+372)
#define SID_INSERT_FLD_PAGES (SID_SD_START+373)
// FREE
#define SID_CONVERT_TO_BITMAP (SID_SD_START+378)
@@ -464,7 +459,6 @@
// Add companion for the SID_HIDE_SLIDE (that is defined in svx)
#define SID_SHOW_SLIDE (SID_SD_START+441)
-#define SID_ADD_MOTION_PATH (SID_SD_START+442)
#define SID_TABLE_TOOLBOX (SID_SD_START+443)
// FREE
#define SID_ZOOM_MODE (SID_SD_START+447)