summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/refundo.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 10:59:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 13:54:16 +0200
commitbd8e6d77e297a473e3ce7179a866422a432ae084 (patch)
tree35c3ba6c91cbc195152a6ecb0af9d60e3df1c82f /sc/source/ui/inc/refundo.hxx
parent5a0485566052af04c2a2493341d25fd43df2a8b3 (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/refundo.hxx')
-rw-r--r--sc/source/ui/inc/refundo.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/inc/refundo.hxx b/sc/source/ui/inc/refundo.hxx
index c3e4466f8733..7ee764eca39a 100644
--- a/sc/source/ui/inc/refundo.hxx
+++ b/sc/source/ui/inc/refundo.hxx
@@ -35,13 +35,13 @@ class ScUnoRefList;
class ScRefUndoData
{
private:
- ScDBCollection* pDBCollection;
- ScRangeName* pRangeName;
- ScPrintRangeSaver* pPrintRanges;
- ScDPCollection* pDPCollection;
- ScDetOpList* pDetOpList;
- ScChartListenerCollection* pChartListenerCollection;
- ScAreaLinkSaveCollection* pAreaLinks;
+ std::unique_ptr<ScDBCollection> pDBCollection;
+ std::unique_ptr<ScRangeName> pRangeName;
+ std::unique_ptr<ScPrintRangeSaver> pPrintRanges;
+ std::unique_ptr<ScDPCollection> pDPCollection;
+ std::unique_ptr<ScDetOpList> pDetOpList;
+ std::unique_ptr<ScChartListenerCollection> pChartListenerCollection;
+ std::unique_ptr<ScAreaLinkSaveCollection> pAreaLinks;
std::unique_ptr<ScUnoRefList> pUnoRefs;
public: