diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-23 12:21:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-26 11:16:01 +0200 |
commit | 939b90f12684d3c6c394b182e9c134bb9150ab24 (patch) | |
tree | 6df68e4d2f30dc5af5b0e30444d02dd95c426fb9 /sc/inc/chartlis.hxx | |
parent | fc3e31ff8eaff7385e200f82972c4e5eb9055723 (diff) |
loplugin:useuniqueptr in ScChartListener
Change-Id: Ib178b1cbe518088af7b3120c5188dd03ae4cf6c2
Reviewed-on: https://gerrit.libreoffice.org/51848
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/chartlis.hxx')
-rw-r--r-- | sc/inc/chartlis.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index 374e1aaeb20d..2537e15613d2 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -65,7 +65,7 @@ private: std::unique_ptr<std::vector<ScTokenRef> > mpTokens; OUString maName; - ScChartUnoData* pUnoData; + std::unique_ptr<ScChartUnoData> pUnoData; ScDocument* mpDoc; bool bUsed:1; // for ScChartListenerCollection::FreeUnused bool bDirty:1; |