diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-29 12:45:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-30 08:40:03 +0200 |
commit | 2c86c131f77cfb70033ea83700dae7064c5127dd (patch) | |
tree | c34d01a90fc20be0f10356cbba547e923b9019b6 /include/svx | |
parent | 110528e6a2a5b7d46eadb1fb29a56728180657da (diff) |
convert ActionDescriptionProvider::ActionType to scoped enum
and remove an unused constant
Change-Id: I8d46d16d3f575aa416bfc5a965986ee5dfb1f93c
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ActionDescriptionProvider.hxx | 22 | ||||
-rw-r--r-- | include/svx/svdstr.hrc | 3 |
2 files changed, 11 insertions, 14 deletions
diff --git a/include/svx/ActionDescriptionProvider.hxx b/include/svx/ActionDescriptionProvider.hxx index 3dc39feb4dc9..7c1082b3a6d3 100644 --- a/include/svx/ActionDescriptionProvider.hxx +++ b/include/svx/ActionDescriptionProvider.hxx @@ -33,19 +33,17 @@ The name of the object acted on and the type of action needs to be given as inpu class SVX_DLLPUBLIC ActionDescriptionProvider { public: - enum ActionType + enum class ActionType { - INSERT - , DELETE - , CUT - , MOVE - , RESIZE - , ROTATE - , TRANSFORM - , FORMAT - , MOVE_TOTOP - , MOVE_TOBOTTOM - , POS_SIZE + Insert + , Delete + , Move + , Resize + , Rotate + , Format + , MoveToTop + , MoveToBottom + , PosSize }; public: diff --git a/include/svx/svdstr.hrc b/include/svx/svdstr.hrc index 08af71fb4eeb..2a7e16da0fe2 100644 --- a/include/svx/svdstr.hrc +++ b/include/svx/svdstr.hrc @@ -245,8 +245,7 @@ #define STR_ExchangeBegin (STR_EditEnd+1) #define STR_ExchangePaste (STR_ExchangeBegin +0) -#define STR_ExchangeClpCut (STR_ExchangeBegin +1) -#define STR_ExchangeEnd (STR_ExchangeClpCut) +#define STR_ExchangeEnd (STR_ExchangePaste) #define STR_DragBegin (STR_ExchangeEnd+1) #define STR_DragInsertPoint (STR_DragBegin + 0) |