[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Wed Jul 5 09:03:15 UTC 2017


 sc/source/ui/drawfunc/fuconcustomshape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec1de6895d84fbe4f2d5fb7135a59a918138d970
Author: Stephan Bergmann <sbergman at 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 ) );


More information about the Libreoffice-commits mailing list