summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLExportDatabaseRanges.cxx')
-rw-r--r--sc/source/filter/xml/XMLExportDatabaseRanges.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
index 9321cdb3b231..f9128fbd59e9 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
@@ -694,7 +694,7 @@ void ScXMLExportDatabaseRanges::WriteDatabaseRanges()
{
const ScDBData* p = pDoc->GetAnonymousDBData(i);
if (p)
- aSheetDBs.insert(SheetLocalDBs::value_type(i, p));
+ aSheetDBs.emplace(i, p);
}
bool bHasRanges = !aSheetDBs.empty();