diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-08 08:08:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-09 07:55:10 +0000 |
commit | 1edcad0daca7f00559fe7cf100438e105623b3eb (patch) | |
tree | ef0be4f736cf9b0977ff14e4e58e9a405f4a59e1 /include | |
parent | 116cf0b298ed62f26a60db51164f6510007d2579 (diff) |
convert SFX_STYLE_ITEM to scoped enum
Change-Id: I929603a12c29931074a467d1472ef686c1d4e8ee
Reviewed-on: https://gerrit.libreoffice.org/24751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/rsc/rscsfx.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/rsc/rscsfx.hxx b/include/rsc/rscsfx.hxx index cc6a23fea579..a3a6304cc123 100644 --- a/include/rsc/rscsfx.hxx +++ b/include/rsc/rscsfx.hxx @@ -38,12 +38,15 @@ enum SfxStyleFamily { SFX_STYLE_FAMILY_CHAR = 1, // SfxTemplate -#define RSC_SFX_STYLE_ITEM_LIST 0x1 -#define RSC_SFX_STYLE_ITEM_BITMAP 0x2 -#define RSC_SFX_STYLE_ITEM_TEXT 0x4 -#define RSC_SFX_STYLE_ITEM_HELPTEXT 0x8 -#define RSC_SFX_STYLE_ITEM_STYLEFAMILY 0x10 -#define RSC_SFX_STYLE_ITEM_IMAGE 0x20 +enum class SfxStyleItem { + None = 0x00, + List = 0x01, + Bitmap = 0x02, + Text = 0x04, + HelpText = 0x08, + StyleFamily = 0x10, + Image = 0x20 +}; // SfxSlotInfo |