Apache OpenOffice (AOO) Bugzilla – Attachment #4009: Use the more readable 90 and 180 rather than the hex values for issue #4378
{
if( eOri == xlTextOrientTopBottom )
nTrot = 0x00FF;
else if( eOri != xlTextOrientNoRot ) // see #i4378
nTrot = (eOri == xlTextOrient90ccw) ? 90 : 180;
else if( pPattAttr )
nTrot = XclTools::GetExcRotation( ((const SfxInt32Item&) pPattAttr->GetItem( ATTR_ROTATE_VALUE )).GetValue() );