diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-06 09:36:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-06 09:52:04 +0200 |
commit | 5a099fef6e804c8fc17647c4ad2279102d0ce383 (patch) | |
tree | 7df24de75097c16fdb4a2e5d45d235a7841970ea /include/svtools | |
parent | 1cbef3eb084b78734165f79854b58afc860bac1c (diff) |
convert HTMLInputType to scoped enum
Change-Id: I3f6f6aadd813898ccff93154138a2fbf911b9c8f
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/parhtml.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx index f2a77311d65a..9b7634430fd4 100644 --- a/include/svtools/parhtml.hxx +++ b/include/svtools/parhtml.hxx @@ -49,20 +49,20 @@ enum HTMLTableFrame { HTML_TF_VOID, HTML_TF_ABOVE, HTML_TF_BELOW, enum HTMLTableRules { HTML_TR_NONE, HTML_TR_GROUPS, HTML_TR_ROWS, HTML_TR_COLS, HTML_TR_ALL }; -enum HTMLInputType +enum class HTMLInputType { - HTML_IT_TEXT = 0x01, - HTML_IT_PASSWORD = 0x02, - HTML_IT_CHECKBOX = 0x03, - HTML_IT_RADIO = 0x04, - HTML_IT_RANGE = 0x05, - HTML_IT_SCRIBBLE = 0x06, - HTML_IT_FILE = 0x07, - HTML_IT_HIDDEN = 0x08, - HTML_IT_SUBMIT = 0x09, - HTML_IT_IMAGE = 0x0a, - HTML_IT_RESET = 0x0b, - HTML_IT_BUTTON = 0x0c + Text = 1, + Password, + Checkbox, + Radio, + Range, + Scribble, + File, + Hidden, + Submit, + Image, + Reset, + Button }; enum class HTMLScriptLanguage |