summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 12:30:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 12:44:34 +0200
commitfd2ffceefc942c7f28f2a0146df09e4ff6ad7d09 (patch)
treee2eeeeac51f853358d41549ae8dfd2f4a124d820 /include/editeng
parent4e19742382708a691c6f62c47744fd2fa663216c (diff)
convert EESpellState to scoped enum
and drop unused EE_SPELL_NOLANGUAGE enumerator Change-Id: I74a5f89335883a13d77b39f78b7de55bddb1f107
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editdata.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx
index 178cf5d42abb..fe184d818853 100644
--- a/include/editeng/editdata.hxx
+++ b/include/editeng/editdata.hxx
@@ -35,7 +35,7 @@ enum EEHorizontalTextDirection { EE_HTEXTDIR_DEFAULT, EE_HTEXTDIR_L2R, EE_HTEXTD
enum EESelectionMode { EE_SELMODE_STD, EE_SELMODE_TXTONLY, EE_SELMODE_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 EESpellState { EE_SPELL_OK, EE_SPELL_NOLANGUAGE, EE_SPELL_LANGUAGENOTINSTALLED, EE_SPELL_NOSPELLER, EE_SPELL_ERRORFOUND };
+enum class EESpellState { Ok, LanguageNotInstalled, NoSpeller, ErrorFound };
enum EVAnchorMode {
ANCHOR_TOP_LEFT, ANCHOR_VCENTER_LEFT, ANCHOR_BOTTOM_LEFT,
ANCHOR_TOP_HCENTER, ANCHOR_VCENTER_HCENTER, ANCHOR_BOTTOM_HCENTER,