summaryrefslogtreecommitdiff
path: root/include/svx/svdview.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-18 09:00:02 +0200
committerNoel Grandin <noel@peralex.com>2016-08-19 08:18:37 +0200
commit565e08cdca16e9e166da85e3c4b9c9a375a186bc (patch)
tree9a577c6a05b8c0c3932a5e55bfc75a002572efa6 /include/svx/svdview.hxx
parenta6a2b2826dbf248821147212a2ee9ecdcadd301f (diff)
convert SdrEventKind to scoped enum
Change-Id: I96c298089d9ca75909380843c7dbc255c4953b88
Diffstat (limited to 'include/svx/svdview.hxx')
-rw-r--r--include/svx/svdview.hxx48
1 files changed, 25 insertions, 23 deletions
diff --git a/include/svx/svdview.hxx b/include/svx/svdview.hxx
index 614fe1fecc6f..10f4e689cdfe 100644
--- a/include/svx/svdview.hxx
+++ b/include/svx/svdview.hxx
@@ -58,29 +58,31 @@ enum SdrViewContext {SDRCONTEXT_STANDARD,
SDRCONTEXT_MEDIA,
SDRCONTEXT_TABLE};
-enum SdrEventKind {SDREVENT_NONE,
- SDREVENT_TEXTEDIT,
- SDREVENT_MOVACTION,
- SDREVENT_ENDACTION,
- SDREVENT_BCKACTION,
- SDREVENT_BRKACTION,
- SDREVENT_ENDCREATE,
- SDREVENT_ENDDRAG,
- SDREVENT_MARKOBJ,
- SDREVENT_MARKPOINT,
- SDREVENT_MARKGLUEPOINT,
- SDREVENT_BEGMARK,
- SDREVENT_BEGINSOBJPOINT,
- SDREVENT_ENDINSOBJPOINT,
- SDREVENT_BEGINSGLUEPOINT,
- SDREVENT_BEGDRAGHELPLINE,
- SDREVENT_BEGDRAGOBJ,
- SDREVENT_BEGCREATEOBJ,
- SDREVENT_BEGMACROOBJ,
- SDREVENT_BEGTEXTEDIT,
- SDREVENT_ENDMARK,
- SDREVENT_BRKMARK,
- SDREVENT_EXECUTEURL};
+enum class SdrEventKind {
+ NONE,
+ TextEdit,
+ MoveAction,
+ EndAction,
+ BackAction,
+ BrkAction,
+ EndCreate,
+ EndDrag,
+ MarkObj,
+ MarkPoint,
+ MarkGluePoint,
+ BeginMark,
+ BeginInsertObjPoint,
+ EndInsertObjPoint,
+ BeginInsertGluePoint,
+ BeginDragHelpline,
+ BeginDragObj,
+ BeginCreateObj,
+ BeginMacroObj,
+ BeginTextEdit,
+ EndMark,
+ BrkMark,
+ ExecuteUrl
+};
/* for PickAnything() */
enum class SdrMouseEventKind