diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-03 14:31:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-04 08:30:15 +0200 |
commit | a9d6a2584fcd36fd9e91b7339b38cc6bd524361a (patch) | |
tree | 9831f5f0e2c2655ea9ca78bcb0806215280822af /sc/inc | |
parent | 9d037cb837d74708358168333a0b457952de23a6 (diff) |
loplugin:useuniqueptr in ScProgress
Change-Id: I92d3c3c52b5735de915db1a208cb7c0d68b4c7a0
Reviewed-on: https://gerrit.libreoffice.org/52342
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/progress.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx index 89fe38a40340..68cda2341bfb 100644 --- a/sc/inc/progress.hxx +++ b/sc/inc/progress.hxx @@ -50,7 +50,7 @@ private: static bool bIdleWasEnabled; bool bEnabled; - SfxProgress* pProgress; + std::unique_ptr<SfxProgress> pProgress; ScProgress( const ScProgress& ) = delete; ScProgress& operator=( const ScProgress& ) = delete; |