summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-04-29 17:22:31 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-30 13:10:43 -0400
commitc45c6307d23d8ceae9d567d2f7286c161b9cb5a9 (patch)
tree258724151e80af93e5caff1e546e947b49665c1d /sc
parentc678409ef3c9e97b61b582bfc747931933059ebe (diff)
Some comment.
Change-Id: Ie7015231944547254562031864e7691333f02947
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/formulacell.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 236474d4e866..5753e44ebd7a 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -2993,6 +2993,12 @@ bool ScFormulaCell::InterpretFormulaGroup()
// Fetch double array guarantees that the length of the
// returned array equals or greater than the requested
// length.
+
+ // TODO: For now, it returns an array pointer only when
+ // the entire array is in contiguous memory space. Once
+ // we finish cell storage rework, we'll support temporary
+ // generation of a double array which is a combination of
+ // multiple cell array segments.
const double* pArray = pDocument->FetchDoubleArray(aCxt, aRefPos, xGroup->mnLength);
if (!pArray)
return false;