From 701343b1eea115e27a40ac93e59c0c1f0d2f6422 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Mar 2015 15:05:00 +0200 Subject: convert SvxNumRuleType to enum class Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1 --- include/editeng/numitem.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/editeng') 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 : is_typed_flags {}; } -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 ); -- cgit