[Libreoffice-commits] core.git: sc/source
Tamás Zolnai
tamas.zolnai at collabora.com
Thu Oct 5 08:36:47 UTC 2017
sc/source/core/data/dpcache.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ee46269003aed237edcd9c086fd14ecded08bbeb
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
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 <ci at libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
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())
{
More information about the Libreoffice-commits
mailing list