diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-10-04 23:43:47 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-10-05 10:36:18 +0200 |
commit | ee46269003aed237edcd9c086fd14ecded08bbeb (patch) | |
tree | b086e8d180f20302ea9283f7fc388c051377f6a6 /sc | |
parent | 0cb424fec7389801578085b618c5ad68a98f4637 (diff) |
tdf#112884: Error string is displayed as empty item in pivot table
Need to get the right string representation of error cells.
Based on the code it seems a regression from:
d4cd8677889ec3807c194ef5b462f8e031807e5b
Change-Id: I30001e63cd17ae68ba4988d5825de479a4496326
Reviewed-on: https://gerrit.libreoffice.org/43146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dpcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index 6e2d817b531e..dd0dc4afa663 100644 --- a/sc/source/core/data/dpcache.cxx +++ b/sc/source/core/data/dpcache.cxx @@ -155,7 +155,7 @@ void initFromCell( if (rCell.hasError()) { - rData.SetErrorStringInterned(internString(rStrPool, aDocStr)); + rData.SetErrorStringInterned(internString(rStrPool, pDoc->GetString(rPos.Col(), rPos.Row(), rPos.Tab()))); } else if (rCell.hasNumeric()) { |