sc/source/filter/xml/xmlcelli.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8d07dd1b5c9a81ac95407706ab93fdb3f1d82c13 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Sep 28 09:30:37 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Sep 28 11:29:44 2022 +0200 elide some ref-counting Change-Id: I9fb70d1612dda3c20a683a050f550d1830dd1fc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140693 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 29450409e608..89994f2e61e5 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -1337,7 +1337,7 @@ void ScXMLTableRowCellContext::PutFormulaCell( const ScAddress& rCellPos ) ScDocument* pDoc = rXMLImport.GetDocument(); ScDocumentImport& rDocImport = rXMLImport.GetDoc(); - OUString aText = maFormula->first; + const OUString & aText = maFormula->first; ScExternalRefManager::ApiGuard aExtRefGuard(*pDoc);