diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-06-22 02:51:21 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-07-05 14:55:16 +0300 |
commit | 18992f308d7f1d9b972cb307666e4a4a18778eea (patch) | |
tree | 59c4feb67b847ebe750eb66e08b407b52decf227 /include | |
parent | 4604a6a7cd66907fc29e01aacf2146f17fa19d34 (diff) |
Convert NUM_PAGETYPE_ to a scoped enum
Change-Id: Iddc194a0d8f77e307c05bd3dfef1fc30568173c1
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/numvset.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx index aa4f87768d17..a3aac9734431 100644 --- a/include/svx/numvset.hxx +++ b/include/svx/numvset.hxx @@ -47,10 +47,18 @@ struct SvxBmpItemInfo sal_uInt16 nItemId; }; +enum class NumberingPageType +{ + BULLET, + SINGLENUM, + OUTLINE, + BITMAP +}; + class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet { Color aLineColor; - sal_uInt16 nPageType; + NumberingPageType ePageType; bool bHTMLMode; Rectangle aOrgRect; VclPtr<VirtualDevice> pVDev; @@ -68,7 +76,7 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet public: SvxNumValueSet(vcl::Window* pParent, WinBits nWinBits = WB_TABSTOP); - void init(sal_uInt16 nType); + void init(NumberingPageType eType); virtual ~SvxNumValueSet(); virtual void dispose() SAL_OVERRIDE; |