sc/source/core/data/column4.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 457c6ebfef707d9187b9e8903886d79a80d24938 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Wed Jun 4 12:48:36 2014 -0400 The 4th argument is of wrong type. The 4th argument of this ScFormulaCell constructor expects a clone flag, not grammar. And passing that causes a misbehavior when copying formulas down the column. Change-Id: I93663526eb98dd7bfa1160a151de3ef15801f98d diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx index 4acb374..a883891 100644 --- a/sc/source/core/data/column4.cxx +++ b/sc/source/core/data/column4.cxx @@ -350,8 +350,7 @@ void ScColumn::CloneFormulaCell( const ScFormulaCell& rSrc, const std::vector<sc if (nLen == 1) { // Single, ungrouped formula cell. - ScFormulaCell* pCell = - new ScFormulaCell(rSrc, *pDocument, aPos, pDocument->GetGrammar()); + ScFormulaCell* pCell = new ScFormulaCell(rSrc, *pDocument, aPos); pCell->StartListeningTo(aCxt); pCell->SetDirty(); aFormulas.push_back(pCell); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits