diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-05 12:18:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-08 11:58:00 +0200 |
commit | 98dd271c7228a4cf03a995d98eba8a1d64ad92f8 (patch) | |
tree | 74160d291b08bfd5b2a75acfb61247565b4842b9 /sc/source/filter | |
parent | 0317541c6b5486647bacaa5255e4babfc5ce9c23 (diff) |
use more std::unique_ptr in ScDBCollection::NamedDBs
Change-Id: I5825208435fd179e9515e731a24a6e5bf1c94431
Reviewed-on: https://gerrit.libreoffice.org/61436
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/xml/xmldrani.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx index 4a90fca5366d..0861a23c7853 100644 --- a/sc/source/filter/xml/xmldrani.cxx +++ b/sc/source/filter/xml/xmldrani.cxx @@ -442,7 +442,7 @@ void SAL_CALL ScXMLDatabaseRangeContext::endFastElement( sal_Int32 /*nElement*/ if (pData.get()) { setAutoFilterFlags(*pDoc, *pData); - (void)pDoc->GetDBCollection()->getNamedDBs().insert(pData.release()); + (void)pDoc->GetDBCollection()->getNamedDBs().insert(std::move(pData)); } } } |