[Libreoffice-commits] core.git: Branch 'aoo/trunk' - svx/source

Andre Fischer af at apache.org
Fri Jan 17 08:08:44 PST 2014


 svx/source/svdraw/svdoashp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bb94c19d2c7df1c468d38b7744e0d34e8ac27a99
Author: Andre Fischer <af at apache.org>
Date:   Fri Jan 17 15:45:31 2014 +0000

    105491: Switched update of vertical flag and setting the item set to avoid infinite recursion.

diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index a82c5cc..771f158 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -2598,10 +2598,10 @@ void SdrObjCustomShape::SetVerticalWriting( sal_Bool bVertical )
                 case SDRTEXTHORZADJUST_BLOCK: aNewSet.Put(SdrTextVertAdjustItem(SDRTEXTVERTADJUST_BLOCK)); break;
             }
 
-            SetObjectItemSet( aNewSet );
             pOutlinerParaObject = GetOutlinerParaObject();
             if ( pOutlinerParaObject )
                 pOutlinerParaObject->SetVertical(bVertical);
+            SetObjectItemSet( aNewSet );
 
             // restore object size
             SetSnapRect(aObjectRect);


More information about the Libreoffice-commits mailing list