summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2015-08-05 14:13:54 +0000
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-08-15 21:13:09 +0000
commit2238bb47f5fce8449760e71525153967b4ce873c (patch)
tree7edeff61c65b1a4c97b35b138a023a2e8f39af01
parentf7274c63475597c5c0e5ed16a82efb78eebacdcd (diff)
tdf#93052 Fix abundance of calc annotation styles
This is a regression introduced by fixing tdf#47018, which changed the default NumRule and pushed a lot of SVX_MAX_NUM to the SvxNumRule constructors. The changed NumRule default seems not needed to fix the crash; at least it still doesn't crash as described in the old bug report after reverting this part of the change. Change-Id: I908eeb4a827799419d3f28584fdcbc9272cbc76d Reviewed-on: https://gerrit.libreoffice.org/17527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r--editeng/source/editeng/eerdll.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx
index 9250e230b9d8..13704f8e7356 100644
--- a/editeng/source/editeng/eerdll.cxx
+++ b/editeng/source/editeng/eerdll.cxx
@@ -101,8 +101,7 @@ SfxPoolItem** GlobalEditData::GetDefItems()
ppDefItems = new SfxPoolItem*[EDITITEMCOUNT];
// Paragraph attributes:
- SvxNumRule aDefaultNumRule( SvxNumRuleFlags::BULLET_REL_SIZE | SvxNumRuleFlags::BULLET_COLOR | SvxNumRuleFlags::CHAR_TEXT_DISTANCE,
- SVX_MAX_NUM, false );
+ SvxNumRule aDefaultNumRule( SvxNumRuleFlags::NONE, SVX_MAX_NUM, false );
ppDefItems[0] = new SvxFrameDirectionItem( FRMDIR_HORI_LEFT_TOP, EE_PARA_WRITINGDIR );
ppDefItems[1] = new SvXMLAttrContainerItem( EE_PARA_XMLATTRIBS );