Author: af Date: Fri Jan 17 15:45:31 2014 New Revision: 1559155 URL: http://svn.apache.org/r1559155 Log: 105491: Switched update of vertical flag and setting the item set to avoid infinite recursion.
Modified: openoffice/trunk/main/svx/source/svdraw/svdoashp.cxx Modified: openoffice/trunk/main/svx/source/svdraw/svdoashp.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/svdraw/svdoashp.cxx?rev=1559155&r1=1559154&r2=1559155&view=diff ============================================================================== --- openoffice/trunk/main/svx/source/svdraw/svdoashp.cxx (original) +++ openoffice/trunk/main/svx/source/svdraw/svdoashp.cxx Fri Jan 17 15:45:31 2014 @@ -2598,10 +2598,10 @@ void SdrObjCustomShape::SetVerticalWriti 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);