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:
d4cd867788

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>
This commit is contained in:
Tamás Zolnai
2017-10-04 23:43:47 +02:00
parent 0cb424fec7
commit ee46269003

View File

@@ -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())
{