Apache OpenOffice (AOO) Bugzilla – Issue 96113
sw: ambiguous && ||
Last modified: 2013-08-07 14:43:11 UTC
in sw/source/ui/utlui/navipi.cxx we have... if(aTmpParentSize.Width() < aMinSize.Width() || aTmpParentSize.Height() < aMinSize.Height() && ((SfxDockingWindow*)pParent)->GetFloatingWindow() && !((SfxDockingWindow*)pParent)->GetFloatingWindow()->IsRollUp()) which means (after expanding operator precedence) if ( aTmpParentSize.Width() < aMinSize.Width() || ( aTmpParentSize.Height() < aMinSize.Height() && ((SfxDockingWindow*)pParent)->GetFloatingWindow() && !((SfxDockingWindow*)pParent)->GetFloatingWindow()->IsRollUp() ) ) is that really what we want ?, if so then patch A makes that explicit or do we really want if ( ( aTmpParentSize.Width() < aMinSize.Width() || aTmpParentSize.Height() < aMinSize.Height() ) && ((SfxDockingWindow*)pParent)->GetFloatingWindow() && !((SfxDockingWindow*)pParent)->GetFloatingWindow()->IsRollUp() ) which is not what we do now, but might be our intention, in which case attachment 2 [details] makes that explicit
Created attachment 57899 [details] version 1, keeps current behaviour
Created attachment 57900 [details] changes current behaviour, but might be what was intended
Fixed in CWS sw31bf02.
Ready for QA ;-)
verified in cws sw31bf02
closed, integrated