diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-09 16:04:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-10 08:31:41 +0200 |
commit | 02329510d45395422556ff2ac0a0e52892aecb77 (patch) | |
tree | d182b152bfa4a3e0f5ad353646d2941d982d64b4 /sc/inc | |
parent | 5c8f9d0d83127df1017e41d3512a629627527a82 (diff) |
loplugin:useuniqueptr in ScCellFormatsEnumeration
Change-Id: I5551b65d4c7fea7e38d7c5b40af7c1803218b960
Reviewed-on: https://gerrit.libreoffice.org/57203
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 9cc132541a83..f36ec2a92573 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -1150,7 +1150,7 @@ class ScCellFormatsEnumeration : public cppu::WeakImplHelper< private: ScDocShell* pDocShell; SCTAB nTab; - ScAttrRectIterator* pIter; + std::unique_ptr<ScAttrRectIterator> pIter; ScRange aNext; bool bAtEnd; bool bDirty; |