summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-03-14 15:13:40 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-03-14 15:26:29 +0100
commitf1a2665128fa476f571cfd47c29b202a7ecc21cc (patch)
tree2c39b4133e6219b2be5848189a2f75f4cb8f8a27 /sw
parentba6714d34f9896195bca3680da89febcf259e421 (diff)
SwParaDlg::PageCreated: replace this hardwired 0x001E with something readable
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index be65dfbc6d2c..7e92407cd94b 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -186,7 +186,8 @@ void SwParaDlg::PageCreated(sal_uInt16 nId, SfxTabPage& rPage)
if (!bDrawParaDlg)
{
- aSet.Put(SfxUInt32Item(SID_SVXSTDPARAGRAPHTABPAGE_FLAGSET,0x001E));
+ // See SvxStdParagraphTabPage::PageCreated: enable RegisterMode, AutoFirstLine, NegativeMode, ContextualMode
+ aSet.Put(SfxUInt32Item(SID_SVXSTDPARAGRAPHTABPAGE_FLAGSET,0x0002|0x0004|0x0008|0x0010));
aSet.Put(SfxUInt32Item(SID_SVXSTDPARAGRAPHTABPAGE_ABSLINEDIST, MM50/10));
}