diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-16 11:56:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-17 08:45:15 +0200 |
commit | 42ab2cfbd92bc30a62a2c126d4ad6d5726846d8b (patch) | |
tree | 07cfc005093e203c93c633da24eb5bdcf00314b6 /filter | |
parent | a49eeecd2372c620caa66428acaf27ebc7d70e92 (diff) |
convert SvxLineSpace to scoped enum
and rename to be more explicit
Change-Id: Id06e6b68ef30e1d0d0daf19c37a390060e8bcb01
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 868727bb03f8..01ce1253db1b 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -6266,13 +6266,13 @@ void PPTParagraphObj::ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& SvxLineSpacingItem aItem( 200, EE_PARA_SBL ); if ( nVal2 <= 0 ) { aItem.SetLineHeight( (sal_uInt16)( rManager.ScalePoint( -nVal2 ) / 8 ) ); - aItem.GetLineSpaceRule() = SVX_LINE_SPACE_FIX; + aItem.SetLineSpaceRule( SvxLineSpaceRule::Fix ); aItem.SetInterLineSpaceRule(SvxInterLineSpaceRule::Off); } else { sal_uInt8 nPropLineSpace = (sal_uInt8)nVal2; aItem.SetPropLineSpace( nPropLineSpace ); - aItem.GetLineSpaceRule() = SVX_LINE_SPACE_AUTO; + aItem.SetLineSpaceRule( SvxLineSpaceRule::Auto ); } rSet.Put( aItem ); } |