sc/source/core/data/dpcache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ee46269003aed237edcd9c086fd14ecded08bbeb Author: Tamás Zolnai <[email protected]> Date: Wed Oct 4 23:43:47 2017 +0200 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 <[email protected]> Reviewed-by: Tamás Zolnai <[email protected]> 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()) {
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
