summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}