summaryrefslogtreecommitdiff
path: root/sc/source/core/data/cellvalue.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-06-20 20:45:21 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-06-24 16:51:38 -0400
commit8a39b8ce354bd42325ff61c07cfdc7a150d2925a (patch)
treec41cfcb5097e8db6f09a54dd7ef75c2ae79ef36b /sc/source/core/data/cellvalue.cxx
parent66d3f24334e69e1655e83520950c59a0bda095a3 (diff)
Turns out ScHorizontalIterator was still broken. Fix it for real.
And a unit test to accompany the fix. Change-Id: I41e9451049d3c6ab7b3fd7904bcef3675979884c
Diffstat (limited to 'sc/source/core/data/cellvalue.cxx')
-rw-r--r--sc/source/core/data/cellvalue.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/cellvalue.cxx b/sc/source/core/data/cellvalue.cxx
index 617eb298f265..8e6283605f9a 100644
--- a/sc/source/core/data/cellvalue.cxx
+++ b/sc/source/core/data/cellvalue.cxx
@@ -583,6 +583,8 @@ OUString ScRefCellValue::getString()
{
switch (meType)
{
+ case CELLTYPE_VALUE:
+ return OUString::number(mfValue);
case CELLTYPE_STRING:
return *mpString;
case CELLTYPE_EDIT: