105491: Switched update of vertical flag and setting the item set to avoid infinite recursion.
(cherry picked from commit bb94c19d2c7df1c468d38b7744e0d34e8ac27a99)
This commit is contained in:
committed by
Caolán McNamara
parent
75934fc178
commit
285d62c554
@@ -2298,10 +2298,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);
|
||||
|
Reference in New Issue
Block a user