summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-06 21:30:18 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-07 10:42:10 +0200
commitcb57efe8db91d90f45b1f31e583520e0046133aa (patch)
treec0038bb8b37c68f781a2a3f2944befd95ab7e293 /xmloff
parent98ae74f85e08644be95e955449f0021d2f4151c2 (diff)
cid#1546226 COPY_INSTEAD_OF_MOVE
Change-Id: Ie7bc7b7164f12e167fd6a102c5ed10b71077239a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170080 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtflde.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index ad6cf90b3be9..d13c54c9707e 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -774,8 +774,7 @@ void XMLTextFieldExport::ExportFieldAutoStyle(
// insert a list for our XText (if necessary)
if (aMapIter == moUsedMasters->end())
{
- std::set<OUString> aSet;
- (*moUsedMasters)[xOurText] = aSet;
+ (*moUsedMasters)[xOurText] = std::set<OUString>();
aMapIter = moUsedMasters->find(xOurText);
}