incubator-ooo-dev mailing list archives

[Call-for-​​Review][Calc]Bug 119964:Number displays different from MS with the same format code

Date

Thu, 14 Jun 2012 05:25:06 GMT

Hi~
Another fix for review.
https://issues.apache.org/ooo/show_bug.cgi?id=119964<https://issues.apache.org/ooo/show_bug.cgi?id=119941>
Steps:
1.Created attachment 78260
2. MS displays the two Format code with the same result, but AOO doesn't,
please see cell A1 and A2
[>0][BLUE]#.0;[<0][RED]#.0;[GREEN]#.000
[<0][RED]#.0;[=0][GREEN]#.000;[BLUE]#.0
Root Cause:
AOO will ignore the <0 condition if appear in first scetion
Resolution:
To check the condition of first section, if meet condition, remove the
minus sign