Kaydet (Commit) ee462690 authored tarafından Tamás Zolnai's avatar Tamás Zolnai

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

Change-Id: I30001e63cd17ae68ba4988d5825de479a4496326
Reviewed-on: https://gerrit.libreoffice.org/43146Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst 0cb424fe
...@@ -155,7 +155,7 @@ void initFromCell( ...@@ -155,7 +155,7 @@ void initFromCell(
if (rCell.hasError()) if (rCell.hasError())
{ {
rData.SetErrorStringInterned(internString(rStrPool, aDocStr)); rData.SetErrorStringInterned(internString(rStrPool, pDoc->GetString(rPos.Col(), rPos.Row(), rPos.Tab())));
} }
else if (rCell.hasNumeric()) else if (rCell.hasNumeric())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment