Apache OpenOffice (AOO) Bugzilla – Issue 83666
Line breaks in strings sometimes treated as spaces
Last modified: 2013-08-07 15:14:30 UTC
Line breaks in some strings are treated as spaces. Consider: A1 contains two three letter words seperated by a soft line break - Ctrl+Enter. (It is displayed as a two line cell, and as two words seperated by a space in the input line - Issue 13870). =CODE(MID(A1;4;1)) returns 32 instead of the expected 10 Yet if A2 contains =LEFT(A1;3)&char(10)&RIGHT(A1;3) =CODE(MID(A2;4;1)) returns 10 as expected and if A3 contains the same two words as A1, but seperated by a space instead of a soft line break =EXACT(A1;A3) returns TRUE instead of the expected FALSE
Hi Niklas, the problem is just that the first output isn't correct. We should give the same result as Excel do. 10 for the first formula and FALSE for the last one. Frank
Edit - I mean hard line break (Ctrl+Enter) not soft.
The patch in #35913 also fixes this bug.
Grabbing.
Fixed with issue 35913 in cws calcmultiline.
Reassigning to QA for verification.
verified in internal build cws_calcmultiline
Verified in DEV300m49 on WinXP Closing