summaryrefslogtreecommitdiff
path: root/sw/inc/swevent.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 10:03:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 12:21:22 +0200
commit31a85a9a13595a9aeae1932ee08c9b09ead384cd (patch)
treed3cf4136e21a3acee1ddbf77aca62f3d73c3ed55 /sw/inc/swevent.hxx
parent2fffaf6f05d829e345ad8b391646a6e8df9a9a26 (diff)
convert UNO event ids to scoped enum
I'm fairly sure there are more simplifications that could be make here. It seems like we have both an ID and a string name for all of these events, and we could probably get by with just one of those, or alternately, centralise the name<->id mapping somewhere Change-Id: I978073822ddbebce94ac5b560fea675bea905a35 Reviewed-on: https://gerrit.libreoffice.org/40392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swevent.hxx')
-rw-r--r--sw/inc/swevent.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/inc/swevent.hxx b/sw/inc/swevent.hxx
index 8ef0e908fd19..5b58745ddd04 100644
--- a/sw/inc/swevent.hxx
+++ b/sw/inc/swevent.hxx
@@ -25,14 +25,6 @@
#include <calbck.hxx>
#include <frmfmt.hxx>
-#define SW_EVENT_OBJECT_SELECT ( EVENT_APP_START + 0 )
-#define SW_EVENT_START_INS_GLOSSARY ( EVENT_APP_START + 1 )
-#define SW_EVENT_END_INS_GLOSSARY ( EVENT_APP_START + 2 )
-#define SW_EVENT_FRM_KEYINPUT_ALPHA ( EVENT_APP_START + 4 )
-#define SW_EVENT_FRM_KEYINPUT_NOALPHA ( EVENT_APP_START + 5 )
-#define SW_EVENT_FRM_RESIZE ( EVENT_APP_START + 6 )
-#define SW_EVENT_FRM_MOVE ( EVENT_APP_START + 7 )
-
#define STR_SW_EVENT_PAGE_COUNT 0
#define STR_SW_EVENT_MAIL_MERGE 1
#define STR_SW_EVENT_MAIL_MERGE_END 2