diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-27 19:08:30 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-27 19:11:55 -0500 |
commit | f571104ef38ba9f7f6073e22c2374add7aa73887 (patch) | |
tree | 8fe4a87d3b4a42a9caac8e6dcf0d6c9a8f751165 /sc | |
parent | 83f69e697a9bfa90671df6e1d5d25ae11b7b568a (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
Diffstat (limited to 'sc')
-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); } |