summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column2.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-10-31 12:35:30 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-31 12:36:31 -0400
commit94a569c25026ea67f18ace8a075e13ac355ff3d2 (patch)
tree6cdfe749d8d6a6f6714856e9163f0588bacda81c /sc/source/core/data/column2.cxx
parent6d2f42199c2a9b48c9e19d7ae087f5452bfbd401 (diff)
Don't hard-code the start row position of string array to 0...
Change-Id: I06724e2e8754ac20217f5375a445c85f9a5b31e6
Diffstat (limited to 'sc/source/core/data/column2.cxx')
-rw-r--r--sc/source/core/data/column2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 5176d82fea2e..4715b480fc7b 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -2722,7 +2722,7 @@ formula::VectorRefArray ScColumn::FetchVectorRefArray( SCROW nRow1, SCROW nRow2
{
// Requested range falls within the first block.
copyFirstStringBlock(*pDocument, rArray, nRow2+1, itBlk);
- return formula::VectorRefArray(&rArray[0]);
+ return formula::VectorRefArray(&rArray[nRow1]);
}
copyFirstStringBlock(*pDocument, rArray, itBlk->size, itBlk);