diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 15:53:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-15 06:46:20 +0000 |
commit | 2589f090875f3b81d91211e72cf36a6f1441c01a (patch) | |
tree | a656787f593cc946971eb55e6c2bccf7071ada6b /sd/inc | |
parent | 7f8bc0af4b35c22ead1310984926b26749b3143d (diff) |
remove unused HRC defines in sd/
improve the existing 'find unused RID constants' script
Change-Id: I6facbf9ef929bd31dc59eba4a1807c72b87cdb2f
Reviewed-on: https://gerrit.libreoffice.org/35186
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/sdattr.hrc | 57 |
1 files changed, 6 insertions, 51 deletions
diff --git a/sd/inc/sdattr.hrc b/sd/inc/sdattr.hrc index e275090134ec..791c03121d2e 100644 --- a/sd/inc/sdattr.hrc +++ b/sd/inc/sdattr.hrc @@ -22,14 +22,8 @@ #include <sfx2/sfx.hrc> -// Begin page attributes -#define ATTR_PAGE_START SID_SD_START + 1234 -#define ATTR_PAGE_OBJECTS ATTR_PAGE_START + 2 -#define ATTR_PAGE_LAYOUT ATTR_PAGE_START + 3 -#define ATTR_PAGE_END ATTR_PAGE_LAYOUT - // Layer attributes -#define ATTR_LAYER_START ATTR_PAGE_END + 1 +#define ATTR_LAYER_START SID_SD_START + 1234 #define ATTR_LAYER_NAME ATTR_LAYER_START #define ATTR_LAYER_VISIBLE ATTR_LAYER_START + 1 #define ATTR_LAYER_PRINTABLE ATTR_LAYER_START + 2 @@ -39,17 +33,8 @@ #define ATTR_LAYER_DESC ATTR_LAYER_START + 6 #define ATTR_LAYER_END ATTR_LAYER_DESC -// Begin Dia attribute -#define ATTR_DIA_START ATTR_LAYER_END + 1 -#define ATTR_DIA_EFFECT ATTR_DIA_START -#define ATTR_DIA_SPEED ATTR_DIA_START + 1 -#define ATTR_DIA_AUTO ATTR_DIA_START + 2 -#define ATTR_DIA_TIME ATTR_DIA_START + 3 -#define ATTR_DIA_SOUNDFILE ATTR_DIA_START + 5 -#define ATTR_DIA_END ATTR_DIA_SOUNDFILE - // presentation attributes -#define ATTR_PRESENT_START ATTR_DIA_END + 1 +#define ATTR_PRESENT_START ATTR_LAYER_END + 1 #define ATTR_PRESENT_ALL ATTR_PRESENT_START #define ATTR_PRESENT_CUSTOMSHOW ATTR_PRESENT_START + 1 #define ATTR_PRESENT_DIANAME ATTR_PRESENT_START + 2 @@ -67,25 +52,8 @@ #define ATTR_PRESENT_DISPLAY ATTR_PRESENT_START + 15 #define ATTR_PRESENT_END ATTR_PRESENT_DISPLAY -// transformation attributes -#define ATTR_TRANSF_START ATTR_PRESENT_END + 1 -#define ATTR_TRANSF_ANGLE ATTR_TRANSF_START + 7 -#define ATTR_TRANSF_END ATTR_TRANSF_ANGLE - -// grid attributes -#define ATTR_GRID_START ATTR_TRANSF_END + 1 -#define ATTR_GRID_ORIGIN_Y ATTR_GRID_START + 8 -#define ATTR_GRID_END ATTR_GRID_ORIGIN_Y - -// display attributes -#define ATTR_DISPLAY_START ATTR_GRID_END + 1 -#define ATTR_DISPLAY_ADJUSTLINES ATTR_DISPLAY_START + 8 -#define ATTR_DISPLAY_END ATTR_DISPLAY_ADJUSTLINES - -#define ATTR_TBX_DUMMY ATTR_DISPLAY_END + 1 - // animation attributes -#define ATTR_ANIMATION_START ATTR_TBX_DUMMY + 1 +#define ATTR_ANIMATION_START ATTR_PRESENT_END + 1 #define ATTR_ANIMATION_ACTIVE ATTR_ANIMATION_START #define ATTR_ANIMATION_EFFECT ATTR_ANIMATION_START + 1 #define ATTR_ANIMATION_SPEED ATTR_ANIMATION_START + 2 @@ -107,11 +75,7 @@ #define ATTR_ACTION_PLAYFULL ATTR_ACTION_START + 5 #define ATTR_ACTION_END ATTR_ACTION_PLAYFULL -#define ATTR_PRINTOPTIONS_START ATTR_ACTION_END + 1 -#define ATTR_PRINTOPTIONS_PAGENAME ATTR_PRINTOPTIONS_START + 5 -#define ATTR_PRINTOPTIONS_END ATTR_PRINTOPTIONS_PAGENAME - -#define ATTR_COPY_START ATTR_PRINTOPTIONS_END + 1 +#define ATTR_COPY_START ATTR_ACTION_END + 1 #define ATTR_COPY_NUMBER ATTR_COPY_START #define ATTR_COPY_MOVE_X ATTR_COPY_START + 1 #define ATTR_COPY_MOVE_Y ATTR_COPY_START + 2 @@ -143,24 +107,15 @@ #define ATTR_OPTIONS_SCALE_HEIGHT ATTR_OPTIONS_SCALE_START + 3 #define ATTR_OPTIONS_SCALE_END ATTR_OPTIONS_SCALE_HEIGHT -#define ATTR_PUBLISH_START ATTR_OPTIONS_SCALE_END + 1 -#define ATTR_PUBLISH_SLIDESOUND ATTR_PUBLISH_START + 32 -#define ATTR_PUBLISH_END ATTR_PUBLISH_SLIDESOUND - -#define ATTR_PRESLAYOUT_START ATTR_PUBLISH_END + 1 +#define ATTR_PRESLAYOUT_START ATTR_OPTIONS_SCALE_END + 1 #define ATTR_PRESLAYOUT_NAME ATTR_PRESLAYOUT_START #define ATTR_PRESLAYOUT_LOAD ATTR_PRESLAYOUT_START + 1 #define ATTR_PRESLAYOUT_MASTER_PAGE ATTR_PRESLAYOUT_START + 2 #define ATTR_PRESLAYOUT_CHECK_MASTERS ATTR_PRESLAYOUT_START + 3 #define ATTR_PRESLAYOUT_END ATTR_PRESLAYOUT_CHECK_MASTERS -// Pack & go attributes -#define ATTR_PACKNGO_START ATTR_PRESLAYOUT_END + 1 -#define ATTR_PACKNGO_MEDIUMSIZE ATTR_PACKNGO_START + 3 -// ATTR_PACKNGO_END ATTR_PACKNGO_MEDIUMSIZE - // paragraph numbering attributes -#define ATTR_PARANUMBERING_START ATTR_PACKNGO_MEDIUMSIZE + 1 +#define ATTR_PARANUMBERING_START ATTR_PRESLAYOUT_END + 1 #define ATTR_NUMBER_NEWSTART ATTR_PARANUMBERING_START #define ATTR_NUMBER_NEWSTART_AT ATTR_PARANUMBERING_START + 1 #define ATTR_PARANUMBERING_END ATTR_NUMBER_NEWSTART_AT |