summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/doubleref.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2010-03-05 10:16:57 +0100
committerNiklas Nebel <nn@openoffice.org>2010-03-05 10:16:57 +0100
commitbba205263e907c63be75f36a0620b4d98f2c012c (patch)
tree9ffefa7c546951f88d7ac44bb38522cf90f394af /sc/source/core/tool/doubleref.cxx
parent22e99ad710239c0604f883f303d91b8c43a71f16 (diff)
calc52: #i109200# #i109812# fix DCOUNT and related functions
Diffstat (limited to 'sc/source/core/tool/doubleref.cxx')
-rw-r--r--sc/source/core/tool/doubleref.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/tool/doubleref.cxx b/sc/source/core/tool/doubleref.cxx
index 28fae20ddb62..5c2d3f575654 100644
--- a/sc/source/core/tool/doubleref.cxx
+++ b/sc/source/core/tool/doubleref.cxx
@@ -337,7 +337,9 @@ OUString ScDBInternalRange::getString(SCCOL nCol, SCROW nRow) const
{
String aStr;
const ScAddress& s = maRange.aStart;
- getDoc()->GetString(s.Col() + nCol, s.Row() + nRow, maRange.aStart.Tab(), aStr);
+ // #i109200# this is used in formula calculation, use GetInputString, not GetString
+ // (consistent with ScDBInternalRange::getCellString)
+ getDoc()->GetInputString(s.Col() + nCol, s.Row() + nRow, maRange.aStart.Tab(), aStr);
return aStr;
}