diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-18 17:49:27 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-18 20:41:29 +0100 |
commit | 2224d88f6b354afbfb26bd7bc9870ba6575647f8 (patch) | |
tree | 9e24a8cd0ce1fe88af173a98aeb0cda72a0ec79b /editeng | |
parent | 68484613834c788bd5f9db83abc23dd1807072c7 (diff) |
editeng: wrong default item for EE_PARA_FORBIDDENRULES
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eerdll.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx index 56d451da344c..fad7bb14689e 100644 --- a/editeng/source/editeng/eerdll.cxx +++ b/editeng/source/editeng/eerdll.cxx @@ -38,6 +38,7 @@ #include <editeng/emphasismarkitem.hxx> #include <editeng/scriptspaceitem.hxx> #include <editeng/hngpnctitem.hxx> +#include <editeng/forbiddenruleitem.hxx> #include <editeng/numdef.hxx> #include <svl/itempool.hxx> #include <svl/grabbagitem.hxx> @@ -107,7 +108,7 @@ SfxPoolItem** GlobalEditData::GetDefItems() ppDefItems[0] = new SvxFrameDirectionItem( FRMDIR_HORI_LEFT_TOP, EE_PARA_WRITINGDIR ); ppDefItems[1] = new SvXMLAttrContainerItem( EE_PARA_XMLATTRIBS ); ppDefItems[2] = new SvxHangingPunctuationItem(false, EE_PARA_HANGINGPUNCTUATION); - ppDefItems[3] = new SfxBoolItem( EE_PARA_FORBIDDENRULES, true ); + ppDefItems[3] = new SvxForbiddenRuleItem(true, EE_PARA_FORBIDDENRULES); ppDefItems[4] = new SvxScriptSpaceItem( true, EE_PARA_ASIANCJKSPACING ); ppDefItems[5] = new SvxNumBulletItem( aDefaultNumRule, EE_PARA_NUMBULLET ); ppDefItems[6] = new SfxBoolItem( EE_PARA_HYPHENATE, false ); |