To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=108228
------- Additional comments from [email protected] Tue Jan 12 16:34:38 +0000 2010 ------- @os: Of course the _test_ for T/F may check for zero/non-zero and the sign does not matter, but when the result of the expression is used for doing math, the sign matters a great deal. First, it is not internally consistent: the expression returns +1 when used alone, but -1 when used in a larger expression. Second, it is not consistent with common use, including Calc, where boolean expressions produce 0/1 when used in an expression. Third, the status quo is less useful than the consistent production of 0/1: since Writer provides no explicit conditional expression the value of the conditional itself can be used as a workaround in some cases. Having a consistent and familiar behavior would surely improve any such use. Of course, fixing this would be a low priority, but at least the unexpected behavior is on record. --------------------------------------------------------------------- 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]
