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/inc/dbdata.hxx | |
parent | use more std::unique_ptr in ScDPCollection (diff) | |
download | core-98dd271c7228a4cf03a995d98eba8a1d64ad92f8.tar.gz core-98dd271c7228a4cf03a995d98eba8a1d64ad92f8.zip |
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/inc/dbdata.hxx')
-rw-r--r-- | sc/inc/dbdata.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index ab0cf85b9cb4..9a260b4e8390 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -262,7 +262,7 @@ public: Deletes p if it could not be inserted, i.e. duplicate name. @return <TRUE/> if inserted, else <FALSE/>. */ - bool insert(ScDBData* p); + bool insert(std::unique_ptr<ScDBData> p); void erase(const iterator& itr); bool empty() const; |