sc/source/ui/drawfunc/fuconcustomshape.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ec1de6895d84fbe4f2d5fb7135a59a918138d970 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jul 5 11:01:18 2017 +0200 tdf#108919: Fix WID, should be EE_PARA_JUST instead of 0 ...according to <https://bugs.documentfoundation.org/show_bug.cgi?id=108919#c5> Change-Id: Ic7c35c5abaa0698536ced4ffdf5b5cb095468b18 diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx index b1ff194f5a13..bef61ce4e14b 100644 --- a/sc/source/ui/drawfunc/fuconcustomshape.cxx +++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx @@ -199,7 +199,7 @@ void FuConstCustomShape::SetAttributes( SdrObject* pObj ) } if ( !bAttributesAppliedFromGallery ) { - pObj->SetMergedItem( SvxAdjustItem( SvxAdjust::Center, 0 ) ); + pObj->SetMergedItem( SvxAdjustItem( SvxAdjust::Center, EE_PARA_JUST ) ); pObj->SetMergedItem( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_CENTER ) ); pObj->SetMergedItem( SdrTextHorzAdjustItem( SDRTEXTHORZADJUST_BLOCK ) ); pObj->SetMergedItem( makeSdrTextAutoGrowHeightItem( false ) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits