summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/eerdll.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-15 14:19:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-16 07:54:24 +0100
commit13b89618c49adfd77d184f22e23420a7b6d4678b (patch)
tree089702c613bd099b478fbeb28ba04a09eef6b8b1 /editeng/source/editeng/eerdll.cxx
parente1dd5d0ca425058174feeff28859672827946bac (diff)
use implict conversion operator in TypedWhichId
instead of spreading calls to Which() everywhere. Change-Id: Ie32d106e44f5cb583908eeebe254ab8b8168ae61 Reviewed-on: https://gerrit.libreoffice.org/44760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/editeng/eerdll.cxx')
-rw-r--r--editeng/source/editeng/eerdll.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx
index 80a6bed5723e..a7f74bf2701f 100644
--- a/editeng/source/editeng/eerdll.cxx
+++ b/editeng/source/editeng/eerdll.cxx
@@ -94,18 +94,18 @@ DefItems::DefItems()
// Paragraph attributes:
SvxNumRule aDefaultNumRule( SvxNumRuleFlags::NONE, 0, false );
- rDefItems[0] = new SvxFrameDirectionItem( SvxFrameDirection::Horizontal_LR_TB, EE_PARA_WRITINGDIR.Which() );
+ rDefItems[0] = new SvxFrameDirectionItem( SvxFrameDirection::Horizontal_LR_TB, EE_PARA_WRITINGDIR );
rDefItems[1] = new SvXMLAttrContainerItem( EE_PARA_XMLATTRIBS );
- rDefItems[2] = new SvxHangingPunctuationItem(false, EE_PARA_HANGINGPUNCTUATION.Which());
- rDefItems[3] = new SvxForbiddenRuleItem(true, EE_PARA_FORBIDDENRULES.Which());
- rDefItems[4] = new SvxScriptSpaceItem( true, EE_PARA_ASIANCJKSPACING.Which() );
- rDefItems[5] = new SvxNumBulletItem( aDefaultNumRule, EE_PARA_NUMBULLET.Which() );
- rDefItems[6] = new SfxBoolItem( EE_PARA_HYPHENATE.Which(), false );
- rDefItems[7] = new SfxBoolItem( EE_PARA_BULLETSTATE.Which(), true );
- rDefItems[8] = new SvxLRSpaceItem( EE_PARA_OUTLLRSPACE.Which() );
- rDefItems[9] = new SfxInt16Item( EE_PARA_OUTLLEVEL.Which(), -1 );
- rDefItems[10] = new SvxBulletItem( EE_PARA_BULLET.Which() );
- rDefItems[11] = new SvxLRSpaceItem( EE_PARA_LRSPACE.Which() );
+ rDefItems[2] = new SvxHangingPunctuationItem(false, EE_PARA_HANGINGPUNCTUATION);
+ rDefItems[3] = new SvxForbiddenRuleItem(true, EE_PARA_FORBIDDENRULES);
+ rDefItems[4] = new SvxScriptSpaceItem( true, EE_PARA_ASIANCJKSPACING );
+ rDefItems[5] = new SvxNumBulletItem( aDefaultNumRule, EE_PARA_NUMBULLET );
+ rDefItems[6] = new SfxBoolItem( EE_PARA_HYPHENATE, false );
+ rDefItems[7] = new SfxBoolItem( EE_PARA_BULLETSTATE, true );
+ rDefItems[8] = new SvxLRSpaceItem( EE_PARA_OUTLLRSPACE );
+ rDefItems[9] = new SfxInt16Item( EE_PARA_OUTLLEVEL, -1 );
+ rDefItems[10] = new SvxBulletItem( EE_PARA_BULLET );
+ rDefItems[11] = new SvxLRSpaceItem( EE_PARA_LRSPACE );
rDefItems[12] = new SvxULSpaceItem( EE_PARA_ULSPACE );
rDefItems[13] = new SvxLineSpacingItem( 0, EE_PARA_SBL );
rDefItems[14] = new SvxAdjustItem( SvxAdjust::Left, EE_PARA_JUST );