summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-18 17:32:11 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-18 20:41:28 +0100
commit68484613834c788bd5f9db83abc23dd1807072c7 (patch)
treecb5f1851435b268a96dd8eecb02d5a941479a439 /editeng
parent79f4b7a7c462f37ec87ce666334f2435cfde0968 (diff)
editeng: wrong default item for EE_PARA_HANGINGPUNCTUATION
Change-Id: Ib23b5847625964c701bda23d7c58ad32c6024c9b
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/eerdll.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx
index 5de7b3286c60..56d451da344c 100644
--- a/editeng/source/editeng/eerdll.cxx
+++ b/editeng/source/editeng/eerdll.cxx
@@ -37,6 +37,7 @@
#include <editeng/flditem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/scriptspaceitem.hxx>
+#include <editeng/hngpnctitem.hxx>
#include <editeng/numdef.hxx>
#include <svl/itempool.hxx>
#include <svl/grabbagitem.hxx>
@@ -105,7 +106,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 SfxBoolItem( EE_PARA_HANGINGPUNCTUATION, false );
+ ppDefItems[2] = new SvxHangingPunctuationItem(false, EE_PARA_HANGINGPUNCTUATION);
ppDefItems[3] = new SfxBoolItem( EE_PARA_FORBIDDENRULES, true );
ppDefItems[4] = new SvxScriptSpaceItem( true, EE_PARA_ASIANCJKSPACING );
ppDefItems[5] = new SvxNumBulletItem( aDefaultNumRule, EE_PARA_NUMBULLET );