summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-04-14 22:13:42 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2017-04-14 22:15:04 -0400
commit04edc5c796c1b96e5228d0c1fcf73bcf52465b66 (patch)
tree816bf66664a4d9964fab6a531f13fff01a06f901 /sc
parent88b42085ab5af0f865573180e642af9b29f472e5 (diff)
Make it easier to inspect string formula results.
Change-Id: I0071dcfcf05ad4a268374a86c15be770f3b58de1
Diffstat (limited to 'sc')
-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 c73dbdbd73d6..553a72ed91be 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1659,7 +1659,7 @@ struct ColumnStorageDumper : std::unary_function<sc::CellStoreType::value_type,
cout << aRes.mfValue << " (type: value)";
break;
case sc::FormulaResultValue::String:
- cout << aRes.maString.getString() << " (type: string)";
+ cout << "'" << aRes.maString.getString() << "' (type: string)";
break;
case sc::FormulaResultValue::Error:
cout << "error (" << static_cast<int>(aRes.mnError) << ")";