From 44101b295071484f4797a9d3140e5ea1a42bc431 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Mar 2015 14:42:40 +0200 Subject: convert NUM_ constants to enum clas Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a --- editeng/source/uno/unonrule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng/source/uno') diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 5959a72f4277..34e47d5c6645 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -487,7 +487,7 @@ com::sun::star::uno::Reference< com::sun::star::container::XIndexReplace > SvxCr } else { - SvxNumRule aDefaultRule( NUM_BULLET_REL_SIZE|NUM_BULLET_COLOR|NUM_CHAR_TEXT_DISTANCE, SVX_MAX_NUM, false); + SvxNumRule aDefaultRule( SvxNumRuleFlags::BULLET_REL_SIZE | SvxNumRuleFlags::BULLET_COLOR | SvxNumRuleFlags::CHAR_TEXT_DISTANCE, SVX_MAX_NUM, false); return new SvxUnoNumberingRules( aDefaultRule ); } } @@ -546,7 +546,7 @@ Reference< XAnyCompare > SvxCreateNumRuleCompare() throw() ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace > SvxCreateNumRule() throw() { - SvxNumRule aTempRule( 0, 10, false ); + SvxNumRule aTempRule( SvxNumRuleFlags::NONE, 10, false ); return SvxCreateNumRule( &aTempRule ); } -- cgit