Kaydet (Commit) 351164ea authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#101691 re-intern strings of external formula results

If the external cell referenced is a formula result of type string that
string needs to be re-interned for the reference cache as well.

Change-Id: Iea3c3d777dede2ad6ba0b084533af964da991ca6
üst e588aa4d
...@@ -1557,8 +1557,8 @@ static FormulaToken* convertToToken( ScDocument* pHostDoc, ScDocument* pSrcDoc, ...@@ -1557,8 +1557,8 @@ static FormulaToken* convertToToken( ScDocument* pHostDoc, ScDocument* pSrcDoc,
} }
else else
{ {
svl::SharedString aStr = pFCell->GetString(); svl::SharedString aSS = pHostDoc->GetSharedStringPool().intern( pFCell->GetString().getString());
return new formula::FormulaStringToken(aStr); return new formula::FormulaStringToken(aSS);
} }
} }
default: default:
......
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