summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-18 17:49:27 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-18 20:41:29 +0100
commit2224d88f6b354afbfb26bd7bc9870ba6575647f8 (patch)
tree9e24a8cd0ce1fe88af173a98aeb0cda72a0ec79b /filter
parent68484613834c788bd5f9db83abc23dd1807072c7 (diff)
editeng: wrong default item for EE_PARA_FORBIDDENRULES
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/svdfppt.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 00740044894e..dfe321c78670 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -55,6 +55,7 @@
#include <svx/svdetc.hxx>
#include <editeng/bulletitem.hxx>
#include <editeng/hngpnctitem.hxx>
+#include <editeng/forbiddenruleitem.hxx>
#include <svx/polysc3d.hxx>
#include <svx/extrud3d.hxx>
#include <svx/svdoashp.hxx>
@@ -6164,7 +6165,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 ) );
+ rSet.Put(SvxForbiddenRuleItem(nVal != 0, EE_PARA_FORBIDDENRULES));
if ( GetAttrib( PPT_ParaAttr_AsianLB_3, nVal, nDestinationInstance ) )
rSet.Put(SvxHangingPunctuationItem(nVal != 0, EE_PARA_HANGINGPUNCTUATION));