diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 10:59:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 13:54:16 +0200 |
commit | bd8e6d77e297a473e3ce7179a866422a432ae084 (patch) | |
tree | 35c3ba6c91cbc195152a6ecb0af9d60e3df1c82f /sc/source/ui/inc/areasave.hxx | |
parent | 5a0485566052af04c2a2493341d25fd43df2a8b3 (diff) |
loplugin:useuniqueptr in ScRefUndoData
Change-Id: I35e0bf44cf63be5ea94863f47f08d376a9c0b1ef
Reviewed-on: https://gerrit.libreoffice.org/52762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/areasave.hxx')
-rw-r--r-- | sc/source/ui/inc/areasave.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/areasave.hxx b/sc/source/ui/inc/areasave.hxx index 6efee92d5722..a21a5b4f0073 100644 --- a/sc/source/ui/inc/areasave.hxx +++ b/sc/source/ui/inc/areasave.hxx @@ -59,7 +59,7 @@ public: void Restore( ScDocument* pDoc ); // returns NULL if empty - static ScAreaLinkSaveCollection* CreateFromDoc( const ScDocument* pDoc ); + static std::unique_ptr<ScAreaLinkSaveCollection> CreateFromDoc( const ScDocument* pDoc ); ScAreaLinkSaver& operator[](size_t nIndex); const ScAreaLinkSaver& operator[](size_t nIndex) const; |