diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-07 13:31:18 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-07 21:30:36 +0200 |
commit | 7cc8555e0ac9838d43bb644bac4052008057824d (patch) | |
tree | 1744bd25540b51e5d3f80682e9a0fea7614bd77f /include/editeng | |
parent | fa19a1f0b050ee6c2ba1f314360e8a2536f61396 (diff) |
convert EESelectionMode to scoped enum
Change-Id: I4da22d40d5b14878b5efac1f3e4a5c76adec37b3
Reviewed-on: https://gerrit.libreoffice.org/37341
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editdata.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx index a13ecf822fcc..9560c2e32863 100644 --- a/include/editeng/editdata.hxx +++ b/include/editeng/editdata.hxx @@ -34,7 +34,7 @@ enum class HtmlTokenId : sal_Int16; enum EETextFormat { EE_FORMAT_TEXT = 0x20, EE_FORMAT_RTF, EE_FORMAT_BIN = 0x31, EE_FORMAT_HTML, EE_FORMAT_XML }; enum EEHorizontalTextDirection { EE_HTEXTDIR_DEFAULT, EE_HTEXTDIR_L2R, EE_HTEXTDIR_R2L }; -enum EESelectionMode { EE_SELMODE_STD, EE_SELMODE_TXTONLY, EE_SELMODE_HIDDEN }; +enum class EESelectionMode { Std, TxtOnly, Hidden }; // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is useful e.g. when you want show the selection // only as long as your window (which the edit view works on) has the focus enum class EESpellState { Ok, LanguageNotInstalled, NoSpeller, ErrorFound }; |