summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-07 20:39:10 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-08 09:34:29 +0100
commitcb18b12953c8ad9d58af82f779be1046fea77834 (patch)
treef653f56a99151689a775865a6fd851b7eb31c348 /sc
parent59ebafbce2faca19526ddbdd6645e48c2fc653c2 (diff)
cid#1545617 COPY_INSTEAD_OF_MOVE
and cid#1545748 COPY_INSTEAD_OF_MOVE cid#1545741 COPY_INSTEAD_OF_MOVE cid#1545698 COPY_INSTEAD_OF_MOVE cid#1545594 COPY_INSTEAD_OF_MOVE cid#1545588 COPY_INSTEAD_OF_MOVE cid#1545558 COPY_INSTEAD_OF_MOVE cid#1545545 COPY_INSTEAD_OF_MOVE Change-Id: I5dfec77a68959b9384fc71a2fc0908c5d1b42869 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160448 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 59274bd45a5b..9da5da65b7e6 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -4530,8 +4530,7 @@ void ScXMLExport::WriteNamedRange(ScRangeName* pRangeName)
assert(!sBaseCellAddress.isEmpty());
AddAttribute(XML_NAMESPACE_TABLE, XML_BASE_CELL_ADDRESS, sBaseCellAddress);
- OUString sSymbol = rxEntry.second->GetSymbol(pDoc->GetStorageGrammar());
- OUString sTempSymbol(sSymbol);
+ OUString sTempSymbol(rxEntry.second->GetSymbol(pDoc->GetStorageGrammar()));
ScRange aRange;
if (rxEntry.second->IsReference(aRange))
{