summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-21 11:51:04 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-21 11:54:18 +0200
commit5fcecf9b88a0879081d8239cebbc03e30150985a (patch)
tree2eaa65002db4ccb19778e054f9fc40c33312537c /sd/source
parent47009fbf515dc6e4d4c275e5a3458b4ce2d817d9 (diff)
hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/animations/CustomAnimation.hrc1
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.hrc3
-rw-r--r--sd/source/ui/annotations/annotations.hrc4
-rw-r--r--sd/source/ui/inc/fontwork.hrc13
-rw-r--r--sd/source/ui/inc/optdlg.hrc2
-rw-r--r--sd/source/ui/inc/packgdlg.hrc15
-rw-r--r--sd/source/ui/inc/preview.hrc1
-rw-r--r--sd/source/ui/inc/prntopts.hrc2
-rw-r--r--sd/source/ui/inc/res_bmp.hrc5
-rw-r--r--sd/source/ui/inc/strings.hrc87
-rw-r--r--sd/source/ui/inc/tpaction.hrc6
-rw-r--r--sd/source/ui/inc/tpoption.hrc6
-rw-r--r--sd/source/ui/slideshow/slideshow.hrc2
13 files changed, 0 insertions, 147 deletions
diff --git a/sd/source/ui/animations/CustomAnimation.hrc b/sd/source/ui/animations/CustomAnimation.hrc
index d5406ded8a26..d698f697bbe8 100644
--- a/sd/source/ui/animations/CustomAnimation.hrc
+++ b/sd/source/ui/animations/CustomAnimation.hrc
@@ -39,7 +39,6 @@
#define DLG_CUSTOMANIMATION_CREATE RID_CUSTOMANIMATION_START+2
#define DLG_SLIDE_TRANSITION_PANE RID_CUSTOMANIMATION_START+3
#define DLG_CUSTOMANIMATION_SCHEMES_PANE RID_CUSTOMANIMATION_START+4
-#define DLG_ANIMATION_SCHEMES_PANE RID_CUSTOMANIMATION_START+5
#define RID_EFFECT_CONTEXTMENU RID_CUSTOMANIMATION_START+0
#define RID_TP_CUSTOMANIMATION_EFFECT RID_CUSTOMANIMATION_START+1
diff --git a/sd/source/ui/animations/CustomAnimationDialog.hrc b/sd/source/ui/animations/CustomAnimationDialog.hrc
index a7895543304b..544e5dfc8436 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.hrc
+++ b/sd/source/ui/animations/CustomAnimationDialog.hrc
@@ -59,7 +59,6 @@
#define RB_STOP_ON_NEXT_SLIDE 28
#define RB_STOP_AFTER_N_SLIDES 29
#define MF_STOP_AFTER_SLIDES 30
-#define TP_CUSTOMANIMATION_EFFECT_COUNT 31
// TabPage RID_TP_CUSTOMANIMATION_DURATION
#define FT_START 1
@@ -75,7 +74,6 @@
#define RB_CLICKSEQUENCE 11
#define RB_INTERACTIVE 12
#define LB_TRIGGER 13
-#define TP_CUSTOMANIMATION_DURATION_COUNT 13
// TabPage RID_TP_CUSTOMANIMATION_TEXT
#define FT_GROUP_TEXT 1
@@ -84,6 +82,5 @@
#define MF_GROUP_AUTO 4
#define CBX_ANIMATE_FORM 5
#define CBX_REVERSE 6
-#define TP_CUSTOMANIMATION_TEXT_COUNT 6
#endif // _SD_CUSTOMANIMATIONDIALOG_HRC
diff --git a/sd/source/ui/annotations/annotations.hrc b/sd/source/ui/annotations/annotations.hrc
index d2969f91be41..0edd168ad150 100644
--- a/sd/source/ui/annotations/annotations.hrc
+++ b/sd/source/ui/annotations/annotations.hrc
@@ -54,11 +54,7 @@
#define BTN_NEXT 3
#define BTN_PREV 4
-#define TBX_TOOLBAR 1
#define FT_AUTHOR 1
-#define ED_AUTHOR 2
-#define FT_DATE 3
-#define ED_DATE 4
#define CT_TEXT 5
diff --git a/sd/source/ui/inc/fontwork.hrc b/sd/source/ui/inc/fontwork.hrc
index 0f7406cd8b7e..89b21f53cb63 100644
--- a/sd/source/ui/inc/fontwork.hrc
+++ b/sd/source/ui/inc/fontwork.hrc
@@ -24,22 +24,9 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define GRP_STYLE 1
-#define BTN_STYLE_OFF 1
-#define BTN_STYLE_ROTATE 2
-#define BTN_STYLE_UPRIGHT 3
-#define BTN_STYLE_SLANTX 4
-#define BTN_STYLE_SLANTY 5
-#define CBX_MIRROR 1
#define MTR_FLD_DISTANCE 1
#define MTR_FLD_TEXTSTART 2
-#define BTN_POS_LEFT 6
-#define BTN_POS_CENTER 7
-#define BTN_POS_RIGHT 8
-#define BTN_POS_FULL 9
-#define GRP_POS 2
#define FT_DISTANCE 1
-#define FT_TEXTSTART 2
#define BTN_OK 1
#define BTN_CANCEL 1
#define BTN_HELP 1
diff --git a/sd/source/ui/inc/optdlg.hrc b/sd/source/ui/inc/optdlg.hrc
index 6c50299c5ab2..6ee22cf6d935 100644
--- a/sd/source/ui/inc/optdlg.hrc
+++ b/sd/source/ui/inc/optdlg.hrc
@@ -24,8 +24,6 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define TAB_DLG_IMPRESS_OPTIONS 842
-#define TAB_DLG_DRAW_OPTIONS 843
#define TP_GENERAL 1
#define TP_SAVE 2
diff --git a/sd/source/ui/inc/packgdlg.hrc b/sd/source/ui/inc/packgdlg.hrc
index fe6546a7082b..4ce5cbf75a39 100644
--- a/sd/source/ui/inc/packgdlg.hrc
+++ b/sd/source/ui/inc/packgdlg.hrc
@@ -25,22 +25,7 @@
*
************************************************************************/
-#define DLG_PACKNGO 939
-
#define BTN_OK 1
#define BTN_CANCEL 2
#define BTN_HELP 3
-#define GRP_DOKU 4
-#define CBX_UNLINK 5
-#define GRP_STORE 6
-#define GRP_SEPARATOR 7
-#define CBX_SPANNING 8
-#define LB_STOREMEDIUM 9
-
-#define FT_DOKU_DESCR 10
-#define FT_STORE_DESCR 11
-#define FT_STOREMEDIUM 12
-
-#define MTR_USERDEFINED 13
-
diff --git a/sd/source/ui/inc/preview.hrc b/sd/source/ui/inc/preview.hrc
index dd9f8756161a..c71c652e9cae 100644
--- a/sd/source/ui/inc/preview.hrc
+++ b/sd/source/ui/inc/preview.hrc
@@ -24,5 +24,4 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define FLT_WIN_PREVIEW 783
#define CTL_PREVIEW 1
diff --git a/sd/source/ui/inc/prntopts.hrc b/sd/source/ui/inc/prntopts.hrc
index 04d155f6730d..57a9aebf7d92 100644
--- a/sd/source/ui/inc/prntopts.hrc
+++ b/sd/source/ui/inc/prntopts.hrc
@@ -36,7 +36,6 @@
#define CBX_NOTES 7
#define CBX_HANDOUTS 8
#define CBX_OUTLINE 9
-#define GRP_WARNINGS 4
#define CBX_PAPERBIN 10
#define CBX_FRONT 12
#define CBX_BACK 13
@@ -45,7 +44,6 @@
#define RBT_PAGETILE 3
#define RBT_BOOKLET 4
#define GRP_PRINT_EXT 3
-#define GRP_PAPERBIN 4
#define RBT_COLOR 5
#define RBT_GRAYSCALE 6
diff --git a/sd/source/ui/inc/res_bmp.hrc b/sd/source/ui/inc/res_bmp.hrc
index 59b3aa439adc..ce85b79d408f 100644
--- a/sd/source/ui/inc/res_bmp.hrc
+++ b/sd/source/ui/inc/res_bmp.hrc
@@ -48,11 +48,6 @@
#define BMP_GRAPHIC RID_APP_START+53
// Bimaps fuer ValueSet im EffekteWindow
-#define BMP_EFFECT_NONE RID_APP_START+105
-#define BMP_TEXTEFFECT_DISCARD_FROM_T RID_APP_START+106
-#define BMP_TEXTEFFECT_FADE_FROM_CENTER RID_APP_START+107
-#define BMP_EFFECT_HIDE RID_APP_START+108
-#define BMP_EFFECT_APPEAR RID_APP_START+109
// -----------------------------------------------------------------------------
diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc
index a3b36b9ec312..83ec16c14e84 100644
--- a/sd/source/ui/inc/strings.hrc
+++ b/sd/source/ui/inc/strings.hrc
@@ -42,23 +42,6 @@
* See also: res_bmp.hrc, popup.src
*/
-#define STR_DRAW_TEXTOBJ_POPUP (RID_APP_START+43)
-#define STR_DRAW_GEOMOBJ_POPUP (RID_APP_START+44)
-#define STR_DRAW_NOSEL_POPUP (RID_APP_START+45)
-#define STR_SLIDETABLE_POPUP (RID_APP_START+46)
-#define STR_BEZIER_POPUP (RID_APP_START+47)
-#define STR_DRAW_LINEOBJ_POPUP (RID_APP_START+48)
-#define STR_DRAW_MULTISELECTION_POPUP (RID_APP_START+49)
-#define STR_PAGETAB_POPUP (RID_APP_START+50)
-#define STR_LAYERTAB_POPUP (RID_APP_START+51)
-#define STR_DRAW_GRAPHIC_POPUP (RID_APP_START+52)
-#define STR_DRAW_OLE2_POPUP (RID_APP_START+53)
-#define STR_DRAW_TEXTOBJ_INSIDE_POPUP (RID_APP_START+54)
-#define STR_SLIDE_NOSEL_POPUP (RID_APP_START+55)
-#define STR_OUTLINE_POPUP (RID_APP_START+56)
-#define STR_MASTERPAGE_POPUP (RID_APP_START+57)
-#define STR_DRAW_GROUPOBJ_POPUP (RID_APP_START+58)
-
#define STR_UNDO_CUT (RID_APP_START+59)
#define STR_UNDO_DRAGDROP (RID_APP_START+66)
#define STR_INSERTGRAPHIC (RID_APP_START+67)
@@ -91,8 +74,6 @@
#define STR_UNDO_COLORRESOLUTION (RID_APP_START+89)
/* keep 90 - 100 free for popup's */
-#define STR_DRAW_3DOBJ_POPUP (RID_APP_START+90)
-#define STR_DRAW_MEASUREOBJ_POPUP (RID_APP_START+91)
#define STR_ASK_DELETE_ALL_PICTURES (RID_APP_START+92)
#define STR_WARN_PAGE_EXISTS (RID_APP_START+93)
@@ -144,16 +125,13 @@
* configurations string should have identical ResourceID's!).
*/
-#define STR_PLUGIN_TOOLBOX RID_PLUGINTOOLBOX
#define STR_DRAW_TOOLBOX RID_DRAW_TOOLBOX
#define STR_SLIDE_TOOLBOX RID_SLIDE_TOOLBOX
#define STR_DRAW_OBJ_TOOLBOX RID_DRAW_OBJ_TOOLBOX
#define STR_SLIDE_OBJ_TOOLBOX RID_SLIDE_OBJ_TOOLBOX
#define STR_BEZIER_TOOLBOX RID_BEZIER_TOOLBOX
#define STR_DRAW_TEXT_TOOLBOX RID_DRAW_TEXT_TOOLBOX
-#define STR_DRAW_TABLE_TOOLBOX RID_DRAW_TABLE_TOOLBOX
#define STR_OUTLINE_TOOLBOX RID_OUTLINE_TOOLBOX
-#define STR_DRAW_POLYLINEOBJ_POPUP RID_DRAW_POLYLINEOBJ_POPUP
#define STR_GLUEPOINTS_TOOLBOX RID_GLUEPOINTS_TOOLBOX
#define STR_DRAW_OPTIONS_TOOLBOX RID_DRAW_OPTIONS_TOOLBOX
#define STR_DRAW_COMMONTASK_TOOLBOX RID_DRAW_COMMONTASK_TOOLBOX
@@ -164,7 +142,6 @@
#define STR_GRAPHIC_TEXT_TOOLBOX RID_GRAPHIC_TEXT_TOOLBOX
#define STR_DRAW_GRAF_TOOLBOX RID_DRAW_GRAF_TOOLBOX
-#define STR_DRAW_MEDIA_TOOLBOX RID_DRAW_MEDIA_TOOLBOX
// IDs fuer Praesentationsfolien
#define STR_AUTOLAYOUT_NONE (RID_APP_START+210)
@@ -284,11 +261,6 @@
* See also: res_bmp.hrc, popup.src
*/
-#define STR_DRAW_SNAPOBJECT_POPUP (RID_APP_START+390)
-#define STR_DRAW_GLUEPOINT_POPUP (RID_APP_START+392)
-#define STR_DRAW_CONTROL_POPUP (RID_APP_START+393)
-
-
#define STR_EFFECT_NONE (RID_APP_START+400)
@@ -327,7 +299,6 @@
#define STR_NEW_CUSTOMSHOW (RID_APP_START+512)
#define STR_COPY_CUSTOMSHOW (RID_APP_START+513)
-#define STR_VIEWTYPE_DUMMY (RID_APP_START+518)
#define STR_BREAK_METAFILE (RID_APP_START+521)
#define STR_BREAK_FAIL (RID_APP_START+522)
@@ -389,63 +360,6 @@
#define STR_PAGE_BACKGROUND_TXT (RID_APP_START+583)
#define STR_PAGE_BACKGROUND_TITLE (RID_APP_START+584)
-// additional effects
-#define STR_EFFECT_DISCARD_SHORT (RID_APP_START+598)
-
-#define STR_EFFECT_DISCARD_FROM_UL (RID_APP_START+600)
-#define STR_EFFECT_DISCARD_FROM_UR (RID_APP_START+601)
-#define STR_EFFECT_DISCARD_FROM_LR (RID_APP_START+602)
-#define STR_EFFECT_DISCARD_FROM_LL (RID_APP_START+603)
-#define STR_EFFECT_DISCARD_S_FROM_L (RID_APP_START+604)
-#define STR_EFFECT_DISCARD_S_FROM_UL (RID_APP_START+605)
-#define STR_EFFECT_DISCARD_S_FROM_T (RID_APP_START+606)
-#define STR_EFFECT_DISCARD_S_FROM_UR (RID_APP_START+607)
-#define STR_EFFECT_DISCARD_S_FROM_R (RID_APP_START+608)
-#define STR_EFFECT_DISCARD_S_FROM_LR (RID_APP_START+609)
-#define STR_EFFECT_DISCARD_S_FROM_B (RID_APP_START+610)
-#define STR_EFFECT_DISCARD_S_FROM_LL (RID_APP_START+611)
-#define STR_EFFECT_VERTICAL_CHECKERBOARD (RID_APP_START+612)
-#define STR_EFFECT_HORIZONTAL_CHECKERBOARD (RID_APP_START+613)
-
-#define STR_EFFECT_MOVE_TO_UL (RID_APP_START+620)
-#define STR_EFFECT_MOVE_TO_UR (RID_APP_START+621)
-#define STR_EFFECT_MOVE_TO_LR (RID_APP_START+622)
-#define STR_EFFECT_MOVE_TO_LL (RID_APP_START+623)
-#define STR_EFFECT_MOVE_S_TO_L (RID_APP_START+625)
-#define STR_EFFECT_MOVE_S_TO_UL (RID_APP_START+626)
-#define STR_EFFECT_MOVE_S_TO_T (RID_APP_START+627)
-#define STR_EFFECT_MOVE_S_TO_UR (RID_APP_START+628)
-#define STR_EFFECT_MOVE_S_TO_R (RID_APP_START+629)
-#define STR_EFFECT_MOVE_S_TO_LR (RID_APP_START+630)
-#define STR_EFFECT_MOVE_S_TO_B (RID_APP_START+631)
-#define STR_EFFECT_MOVE_S_TO_LL (RID_APP_START+632)
-
-#define STR_EFFECT_STRTCH (RID_APP_START+634)
-#define STR_EFFECT_STRTCH_FROM_L (RID_APP_START+635)
-#define STR_EFFECT_STRTCH_FROM_UL (RID_APP_START+636)
-#define STR_EFFECT_STRTCH_FROM_T (RID_APP_START+637)
-#define STR_EFFECT_STRTCH_FROM_UR (RID_APP_START+638)
-#define STR_EFFECT_STRTCH_FROM_R (RID_APP_START+639)
-#define STR_EFFECT_STRTCH_FROM_LR (RID_APP_START+640)
-#define STR_EFFECT_STRTCH_FROM_B (RID_APP_START+641)
-#define STR_EFFECT_STRTCH_FROM_LL (RID_APP_START+642)
-
-#define STR_EFFECT_STRTCH_ROTATE (RID_APP_START+643)
-#define STR_EFFECT_STRTCH_HORIZONTAL (RID_APP_START+644)
-#define STR_EFFECT_STRTCH_VERTICAL (RID_APP_START+645)
-#define STR_EFFECT_ROTATE_HORIZONTAL (RID_APP_START+646)
-#define STR_EFFECT_ROTATE_VERTICAL (RID_APP_START+647)
-
-#define STR_EFFECT_UNCOVER (RID_APP_START+650)
-#define STR_EFFECT_UNCOVER_TO_L (RID_APP_START+651)
-#define STR_EFFECT_UNCOVER_TO_UL (RID_APP_START+652)
-#define STR_EFFECT_UNCOVER_TO_T (RID_APP_START+653)
-#define STR_EFFECT_UNCOVER_TO_UR (RID_APP_START+654)
-#define STR_EFFECT_UNCOVER_TO_R (RID_APP_START+655)
-#define STR_EFFECT_UNCOVER_TO_LR (RID_APP_START+656)
-#define STR_EFFECT_UNCOVER_TO_B (RID_APP_START+657)
-#define STR_EFFECT_UNCOVER_TO_LL (RID_APP_START+658)
-
#define STR_TWAIN_NO_SOURCE (RID_APP_START+670)
#define STR_UNDO_VECTORIZE (RID_APP_START+671)
@@ -491,7 +405,6 @@
#define STR_TASKPANEL_NOT_AVAILABLE_SUBSTITUTION (RID_APP_START+711)
#define STR_TASKPANEL_PREPARING_PREVIEW_SUBSTITUTION (RID_APP_START+712)
#define STR_TASKPANEL_LAYOUT_MENU_TITLE (RID_APP_START+713)
-#define STR_RESTORE_DRAW_MODE (RID_APP_START+714)
#define STR_GRAPHICS_STYLE_FAMILY (RID_APP_START+715)
#define STR_TITLE_SAVE_AS_PICTURE (RID_APP_START+716)
diff --git a/sd/source/ui/inc/tpaction.hrc b/sd/source/ui/inc/tpaction.hrc
index 0c4fe8a265d9..0b190b3c9597 100644
--- a/sd/source/ui/inc/tpaction.hrc
+++ b/sd/source/ui/inc/tpaction.hrc
@@ -31,20 +31,14 @@
#define LB_TREE_DOCUMENT 6
#define BTN_SEARCH 1
#define BTN_SEEK 2
-#define TSB_SOUND 1
-#define TSB_PLAY_FULL 2
#define FL_EFFECT 1
#define FL_SEPARATOR 2
-#define RBT_SLOW 1
-#define RBT_MEDIUM 2
-#define RBT_FAST 3
#define EDT_SOUND 1
#define EDT_BOOKMARK 2
#define EDT_DOCUMENT 3
#define EDT_PROGRAM 4
#define EDT_MACRO 5
#define FT_ACTION 2
-#define FT_ANIMATION 3
#define FT_SPEED 4
#define FT_TREE 5
#define TP_ANIMATION 787
diff --git a/sd/source/ui/inc/tpoption.hrc b/sd/source/ui/inc/tpoption.hrc
index bcb5169d13f6..0077389e2ac5 100644
--- a/sd/source/ui/inc/tpoption.hrc
+++ b/sd/source/ui/inc/tpoption.hrc
@@ -28,7 +28,6 @@
#define TP_OPTIONS_CONTENTS 597
#define TP_OPTIONS_SNAP 598
#define TP_OPTIONS_MISC 599
-#define GRP_OTHER 1
#define FT_METRIC 2
#define GRP_PROGRAMSTART 3
#define GRP_DISPLAY 4
@@ -41,13 +40,10 @@
#define CBX_MOVE_OUTLINE 15
#define CBX_MARKED_HIT_MOVES_ALWAYS 19
#define CBX_CROOK_NO_CONTORTION 21
-#define CBX_SLANT_BUT_SHEAR 22
#define CBX_HANDLES_BEZIER 2
#define GRP_SNAP 1
#define GRP_ORTHO 2
#define FT_SNAP_AREA 1
-#define FI_ORTHO 2
-#define FI_SNAP 3
#define FT_BEZ_ANGLE 4
//#define FT_METRIC 5
#define LB_METRIC 1
@@ -60,12 +56,10 @@
#define CBX_BIGORTHO 7
#define CBX_SNAPGRID 1
#define CBX_SNAP_HELPLINES 2
-#define CBX_SNAP_GRID 1
#define CBX_SNAP_BORDER 3
#define CBX_SNAP_FRAME 4
#define CBX_SNAP_POINTS 5
#define CBX_START_WITH_TEMPLATE 6
-#define CBX_START_WITH_LAYOUT 7
#define CBX_PICKTHROUGH 9
#define CBX_QUICKEDIT 24
#define CBX_MASTERPAGE_CACHE 25
diff --git a/sd/source/ui/slideshow/slideshow.hrc b/sd/source/ui/slideshow/slideshow.hrc
index f086f52cb73f..82c5c6509a76 100644
--- a/sd/source/ui/slideshow/slideshow.hrc
+++ b/sd/source/ui/slideshow/slideshow.hrc
@@ -48,8 +48,6 @@
#define CM_WIDTH_PEN_THICK 16
#define CM_WIDTH_PEN_VERY_THICK 17
#define CM_PEN_MODE 18
-#define CM_ERASE_MODE 19
-#define CM_POINTER_OPTION 20
#define CM_SLIDES 21 // this must be the last id!