summaryrefslogtreecommitdiffstats
path: root/include/svx/numvset.hxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-06-22 02:51:21 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-07-05 14:55:16 +0300
commit18992f308d7f1d9b972cb307666e4a4a18778eea (patch)
tree59c4feb67b847ebe750eb66e08b407b52decf227 /include/svx/numvset.hxx
parentThis one should override SfxToolBoxControl::Select (diff)
downloadcore-18992f308d7f1d9b972cb307666e4a4a18778eea.tar.gz
core-18992f308d7f1d9b972cb307666e4a4a18778eea.zip
Convert NUM_PAGETYPE_ to a scoped enum
Change-Id: Iddc194a0d8f77e307c05bd3dfef1fc30568173c1
Diffstat (limited to 'include/svx/numvset.hxx')
-rw-r--r--include/svx/numvset.hxx12
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;