diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-19 11:01:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-20 06:08:30 +0000 |
commit | ed2b8ca92ae00ab96b0ea2b1c3fc9be4622b61ff (patch) | |
tree | 5fe7754d4aa1e93c6aa186ff74e6f96aaecdcd74 /include/sfx2/sfx.hrc | |
parent | 9eb4b14ffa57cd7bbdf0fc43096f5f1e65c8e388 (diff) |
convert SFX_EVENT constants to scoped enum
SFX_EVENT_CLOSEAPP and SFX_EVENT_TOGGLEFULLSCREENMODE are never
generated,
so remove them and delete the code that receives them
Change-Id: I2d003ba73fff0b02120ba29ff58e1d2399dedf00
Reviewed-on: https://gerrit.libreoffice.org/32168
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/sfx.hrc')
-rw-r--r-- | include/sfx2/sfx.hrc | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/include/sfx2/sfx.hrc b/include/sfx2/sfx.hrc index df385999e1a7..44bf0759a41b 100644 --- a/include/sfx2/sfx.hrc +++ b/include/sfx2/sfx.hrc @@ -35,39 +35,7 @@ // EVENT_APP_END 29999 // Warning: the following are simultaneously SID_ON_ ... -#define SFX_EVENT_CLOSEAPP (EVENT_SFX_START + 1) -#define SFX_EVENT_CREATEDOC (EVENT_SFX_START + 2) -#define SFX_EVENT_OPENDOC (EVENT_SFX_START + 3) -#define SFX_EVENT_CLOSEDOC (EVENT_SFX_START + 4) -#define SFX_EVENT_SAVEDOC (EVENT_SFX_START + 5) -#define SFX_EVENT_SAVEASDOC (EVENT_SFX_START + 6) -#define SFX_EVENT_ACTIVATEDOC (EVENT_SFX_START + 7) -#define SFX_EVENT_DEACTIVATEDOC (EVENT_SFX_START + 8) -#define SFX_EVENT_PRINTDOC (EVENT_SFX_START + 9) - -#define SFX_EVENT_LOADFINISHED (EVENT_SFX_START + 11) - -#define SFX_EVENT_MODIFYCHANGED (EVENT_SFX_START + 13) -#define SFX_EVENT_PREPARECLOSEDOC (EVENT_SFX_START + 14) -#define SFX_EVENT_TOGGLEFULLSCREENMODE (EVENT_SFX_START + 16) -#define SFX_EVENT_SAVEDOCDONE (EVENT_SFX_START + 17) -#define SFX_EVENT_SAVEASDOCDONE (EVENT_SFX_START + 18) - -#define SFX_EVENT_SAVETODOC (EVENT_SFX_START + 19) -#define SFX_EVENT_SAVETODOCDONE (EVENT_SFX_START + 20) - -#define SFX_EVENT_VIEWCREATED (EVENT_SFX_START + 21) -#define SFX_EVENT_PREPARECLOSEVIEW (EVENT_SFX_START + 22) -#define SFX_EVENT_CLOSEVIEW (EVENT_SFX_START + 23) - -#define SFX_EVENT_STORAGECHANGED (EVENT_SFX_START + 24) -#define SFX_EVENT_VISAREACHANGED (EVENT_SFX_START + 25) - -#define SFX_EVENT_DOCCREATED (EVENT_SFX_START + 26) - -#define SFX_EVENT_SAVEASDOCFAILED (EVENT_SFX_START + 27) -#define SFX_EVENT_SAVEDOCFAILED (EVENT_SFX_START + 28) -#define SFX_EVENT_SAVETODOCFAILED (EVENT_SFX_START + 29) + // Events for Controls etc. #define SFX_EVENT_MOUSEOVER_OBJECT ( EVENT_SFX_START + 100 ) |