[Libreoffice-bugs] [Bug 131638] Text cell prompting about incorect formula

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 28 08:52:33 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131638

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
In fact, it pre-processes any formula (starting with +, -, or =). The prompt
appears on "invalid formulas", despite it's not going to store it as formula
eventually.

Cf.: "=///2" with "=2": in first case, it would try correct the input before
storing the result as string, while in the second case, it will store it as
string immediately.

A code pointer: see ScViewFunc::EnterData, which processes formula (see "bool
bFormula") before processing cell type (see "if (nType ==
SvNumFormatType::TEXT").

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200328/0cf26dee/attachment.htm>


More information about the Libreoffice-bugs mailing list