diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-25 15:05:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-26 09:41:35 +0200 |
commit | 701343b1eea115e27a40ac93e59c0c1f0d2f6422 (patch) | |
tree | 61a6d000266018650e97b016288b7a474b89ad73 /include/editeng | |
parent | 44101b295071484f4797a9d3140e5ea1a42bc431 (diff) |
convert SvxNumRuleType to enum class
Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/numitem.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index c749650235fe..7a12b5b10f8f 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -230,12 +230,12 @@ namespace o3tl template<> struct typed_flags<SvxNumRuleFlags> : is_typed_flags<SvxNumRuleFlags, 0x03df> {}; } -enum SvxNumRuleType +enum class SvxNumRuleType { - SVX_RULETYPE_NUMBERING, - SVX_RULETYPE_OUTLINE_NUMBERING, - SVX_RULETYPE_PRESENTATION_NUMBERING, - SVX_RULETYPE_END + NUMBERING, + OUTLINE_NUMBERING, + PRESENTATION_NUMBERING, + END }; class EDITENG_DLLPUBLIC SvxNumRule @@ -254,7 +254,7 @@ public: SvxNumRule( SvxNumRuleFlags nFeatures, sal_uInt16 nLevels, bool bCont, - SvxNumRuleType eType = SVX_RULETYPE_NUMBERING, + SvxNumRuleType eType = SvxNumRuleType::NUMBERING, SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode = SvxNumberFormat::LABEL_WIDTH_AND_POSITION ); |