diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-05 11:01:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-05 11:01:18 +0200 |
commit | ec1de6895d84fbe4f2d5fb7135a59a918138d970 (patch) | |
tree | 1e4a88cd6f75784c12ed7f0eba3248bfe46fe78a | |
parent | de2649025c730fdb8db3175c5e99bee8efe9b313 (diff) |
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
-rw-r--r-- | sc/source/ui/drawfunc/fuconcustomshape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ); |