To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=96106 Issue #|96106 Summary|svx: ambiguous && and || Component|Drawing Version|DEV300m35 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|ka Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Tue Nov 11 15:18:07 +0000 2008 ------- in svx/source/svdraw/svdoedge.cxx there is if (aEP1==aEP2 && (bHorzE1 && bHorzE2 && aEP1.Y()==aEP2.Y()) || (!bHorzE1 && !bHorzE2 && aEP1.X()==aEP2.X())) operator precedence would make this if ((aEP1==aEP2 && (bHorzE1 && bHorzE2 && aEP1.Y()==aEP2.Y())) || (!bHorzE1 && !bHorzE2 && aEP1.X()==aEP2.X())) *maybe* that's want is meant, if so then some extra brackets will make me go away :-), but it does look like if (aEP1==aEP2 && ((bHorzE1 && bHorzE2 && aEP1.Y()==aEP2.Y()) || (!bHorzE1 && !bHorzE2 && aEP1.X()==aEP2.X())) might have been intended, given the symmetry of the expression, is so then the attached patch will do the second option --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]