From 9cb57a50d7eeaa1dda19d18bcb3cde7e4a7984e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 Mar 2017 11:19:35 +0200 Subject: convert SvxAdjust to scoped enum Change-Id: I0df7a5313d6d62d0c657e62ef6014a3ddbab4639 Reviewed-on: https://gerrit.libreoffice.org/34941 Tested-by: Jenkins Reviewed-by: Noel Grandin --- filter/source/msfilter/svdfppt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter/source') diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 5cb4cafad44d..45730aba4e81 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -6235,7 +6235,7 @@ void PPTParagraphObj::ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& { if ( nVal <= 3 ) { // paragraph adjustment - static SvxAdjust const aAdj[ 4 ] = { SVX_ADJUST_LEFT, SVX_ADJUST_CENTER, SVX_ADJUST_RIGHT, SVX_ADJUST_BLOCK }; + static SvxAdjust const aAdj[ 4 ] = { SvxAdjust::Left, SvxAdjust::Center, SvxAdjust::Right, SvxAdjust::Block }; rSet.Put( SvxAdjustItem( aAdj[ nVal ], EE_PARA_JUST ) ); } } -- cgit