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

--- Comment #5 from Mike Kaganski <[email protected]> ---
The problem arises from the difference between handling of "default number
format" in different places in Writer.

The Number Format dialog is handled in SwTableShell::Execute (case
FN_NUM_FORMAT_TABLE_DLG), with the code explicitly taking "NF_TEXT" for
"default" case (the result is 100). Even if it would not do that - e.g., in
multi-selection case, when eState is INVALID, the pool default is still text
(100).

On the other hand, e.g. SwEditShell::IsTableBoxTextFormat (used when pressing
"=" in an empty cell) initializes the format with 0 (which is "Standard", i.e.,
numeric); for any case when it's not explicitly set, it will use that value.
That makes it completely inconsistent.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to