Kaydet (Commit) ebb6d360 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Do the same with orcus filter interface implementation.

Change-Id: I5d457486e2b73e0c92e90ea05558887d3e6f6a3b
üst fadd7e8a
......@@ -378,7 +378,7 @@ void ScOrcusSheet::set_shared_formula(
// formulas across multiple columns.
ScFormulaCellGroupRef xNewGroup(new ScFormulaCellGroup);
xNewGroup->mnStart = aRange.aStart.Row();
xNewGroup->mnLength = aRange.aEnd.Row() - aRange.aStart.Row() + 1;
xNewGroup->mnLength = 1;
xNewGroup->setCode(*pArray);
maFormulaGroups.set(sindex, nCol, xNewGroup);
}
......@@ -406,6 +406,7 @@ void ScOrcusSheet::set_shared_formula(os::row_t row, os::col_t col, size_t sinde
if (!xGroup)
return;
xGroup->mnLength = aPos.Row() - xGroup->mnStart + 1;
ScFormulaCell* pCell = new ScFormulaCell(&mrDoc.getDoc(), aPos, xGroup);
mrDoc.setFormulaCell(aPos, pCell);
cellInserted();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment