diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-08 17:25:42 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2013-11-20 18:23:03 +0000 |
commit | e064677047d924074d327081eeb8c15f76d62e48 (patch) | |
tree | 21909ee1f94e00b90860ab7a7c1bce3aeec6fc31 /sc/source/filter/oox/formulabuffer.cxx | |
parent | 94293870da07719c50f9281f6aeed8347fb92517 (diff) |
Point to the group's top cell in ScFormulaCellGroup instead of the top row
It will make implementing the background compilation of OpenCL kernels
easier, I hope. That needs data accessible through the ScFormulaCell.
Change-Id: I77ad5a94eb13551e6238d5f5285f1c916d7cb992
Diffstat (limited to 'sc/source/filter/oox/formulabuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/formulabuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index 4303b41a0b88..ca48ecab3914 100644 --- a/sc/source/filter/oox/formulabuffer.cxx +++ b/sc/source/filter/oox/formulabuffer.cxx @@ -198,7 +198,7 @@ void applyCellFormulas( ScFormulaCellGroupRef xGroup = rPrev.GetCellGroup(); if (!xGroup) // Last cell is not grouped yet. Start a new group. - xGroup = rPrev.CreateCellGroup(p->mnRow, 1, false); + xGroup = rPrev.CreateCellGroup(p->mnRow, false); ++xGroup->mnLength; |