diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-02 10:59:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-03 08:16:41 +0200 |
commit | 6118675b1f6bd37589d88d5893dffd41501cf624 (patch) | |
tree | 6eff3c453faa7b568f259130f54ce8690b77185d /sc/inc | |
parent | b82d6a3ddc1e70c2f61b8f8fdbfeb9345206472f (diff) |
loplugin:useuniqueptr in ScHeaderFieldsObj
Change-Id: Ibf9251880e658605e83179c9de7ac2104d2c1c14
Reviewed-on: https://gerrit.libreoffice.org/56825
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/fielduno.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx index 8664e2b673a8..c600f29d79e9 100644 --- a/sc/inc/fielduno.hxx +++ b/sc/inc/fielduno.hxx @@ -114,7 +114,7 @@ class ScHeaderFieldsObj : public cppu::WeakImplHelper< { private: ScHeaderFooterTextData& mrData; - ScEditSource* mpEditSource; + std::unique_ptr<ScEditSource> mpEditSource; /// List of refresh listeners. comphelper::OInterfaceContainerHelper2* mpRefreshListeners; |