diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-18 17:32:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-18 20:41:28 +0100 |
commit | 68484613834c788bd5f9db83abc23dd1807072c7 (patch) | |
tree | cb5f1851435b268a96dd8eecb02d5a941479a439 /filter | |
parent | 79f4b7a7c462f37ec87ce666334f2435cfde0968 (diff) |
editeng: wrong default item for EE_PARA_HANGINGPUNCTUATION
Change-Id: Ib23b5847625964c701bda23d7c58ad32c6024c9b
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index dadaad780949..00740044894e 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -54,6 +54,7 @@ #include "svx/xattr.hxx" #include <svx/svdetc.hxx> #include <editeng/bulletitem.hxx> +#include <editeng/hngpnctitem.hxx> #include <svx/polysc3d.hxx> #include <svx/extrud3d.hxx> #include <svx/svdoashp.hxx> @@ -6165,7 +6166,7 @@ void PPTParagraphObj::ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& if ( GetAttrib( PPT_ParaAttr_AsianLB_1, nVal, nDestinationInstance ) ) rSet.Put( SfxBoolItem( EE_PARA_FORBIDDENRULES, nVal != 0 ) ); if ( GetAttrib( PPT_ParaAttr_AsianLB_3, nVal, nDestinationInstance ) ) - rSet.Put( SfxBoolItem( EE_PARA_HANGINGPUNCTUATION, nVal != 0 ) ); + rSet.Put(SvxHangingPunctuationItem(nVal != 0, EE_PARA_HANGINGPUNCTUATION)); if ( GetAttrib( PPT_ParaAttr_BiDi, nVal, nDestinationInstance ) ) rSet.Put( SvxFrameDirectionItem( nVal == 1 ? FRMDIR_HORI_RIGHT_TOP : FRMDIR_HORI_LEFT_TOP, EE_PARA_WRITINGDIR ) ); |