sc/source/core/data/column.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7a7ef5a915f7e4f4a9a21b819ab1013d6333a8d8 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Mon Jan 27 19:08:30 2014 -0500 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.mohrh...@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 007e9e3..8c6102f 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits