Apache OpenOffice (AOO) Bugzilla – Issue 96110
sw: ambiguous & |
Last modified: 2013-08-07 14:43:11 UTC
& has precedence of |, so in sw/source/core/layout/frmtool.cxx we have !((pLay->GetType()&FRM_FLY|FRM_SECTION) which is effectively !(((pLay->GetType()&FRM_FLY)|FRM_SECTION) is that really want we intend ? or do we mean !((pLay->GetType()&(FRM_FLY|FRM_SECTION)) Guessing that it is the latter, then the following patch would make it the second option. Otherwise an extra bracket or two I guess.
Created attachment 57895 [details] suspicious code
Yeah, very suspicious :-( Fixed in sw31bf02.
Verified in CWS sw31bf02
seen in m44, closing