From 3588a48a82d37f940595570758bc1d1179d18b84 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 10 Nov 2017 12:48:21 +0200 Subject: TypedWhichId use a strong-typedef template to give which IDs a type, which we can carry around to do a (a) little bit more convenience when Get()'ing them and (b) a little bit of enforcement of which PoolItem subclass each ID uses Fix a bug in casting EE_PARA_BULLETSTATE to the wrong subclass in AccessibleEditableTextPara::_correctValues Change-Id: I015ce8b3b0f6d21308af182afa3caf122c877a5b Reviewed-on: https://gerrit.libreoffice.org/44587 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/richtext/rtattributehandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms') diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx index 84d3464e571c..6ea84eab3ebd 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 ) + :AttributeHandler( _nAttributeId, EE_PARA_WRITINGDIR.Which() ) ,m_eParagraphDirection( SvxFrameDirection::Horizontal_LR_TB ) ,m_eDefaultAdjustment( SvxAdjust::Right ) ,m_eOppositeDefaultAdjustment( SvxAdjust::Left ) -- cgit