diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-27 19:08:30 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-28 02:50:43 +0000 |
commit | 7a7ef5a915f7e4f4a9a21b819ab1013d6333a8d8 (patch) | |
tree | f590f0357cdbee0aee4951d24b3a3d93372e1c28 | |
parent | 39f0062a074c24fd2bdc5b20f457e51fc322c82b (diff) |
fdo#69244: Avoid putting these cells in formula tree prematurely.
Marking the cell dirty alone appears to be sufficient to trigger resetting
of number format. SetDirty() would mark it dirty *and* put the cell into
formula tree, which would prevent proper value propagation as seen in the
bug report.
Change-Id: Ie68f996112938fe286a9bd50c38404f9df6f4ca1
(cherry picked from commit f571104ef38ba9f7f6073e22c2374add7aa73887)
Reviewed-on: https://gerrit.libreoffice.org/7707
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/core/data/column.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 007e9e317cf2..8c6102f9c79f 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -2863,7 +2863,7 @@ public: if( (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) != 0) pCell->SetNeedNumberFormat(false); else - pCell->SetDirty(true); + pCell->SetDirtyVar(); pCell->CompileXML(mrProgress); } |