summaryrefslogtreecommitdiff
path: root/forms/source/richtext
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 /forms/source/richtext
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 'forms/source/richtext')
-rw-r--r--forms/source/richtext/rtattributehandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx
index 6ea84eab3ebd..84d3464e571c 100644
--- a/forms/source/richtext/rtattributehandler.cxx
+++ b/forms/source/richtext/rtattributehandler.cxx
@@ -369,7 +369,7 @@ namespace frm
}
ParagraphDirectionHandler::ParagraphDirectionHandler( AttributeId _nAttributeId )
- :AttributeHandler( _nAttributeId, EE_PARA_WRITINGDIR.Which() )
+ :AttributeHandler( _nAttributeId, EE_PARA_WRITINGDIR )
,m_eParagraphDirection( SvxFrameDirection::Horizontal_LR_TB )
,m_eDefaultAdjustment( SvxAdjust::Right )
,m_eOppositeDefaultAdjustment( SvxAdjust::Left )