summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-09 16:04:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-10 08:31:41 +0200
commit02329510d45395422556ff2ac0a0e52892aecb77 (patch)
treed182b152bfa4a3e0f5ad353646d2941d982d64b4 /sc/inc
parent5c8f9d0d83127df1017e41d3512a629627527a82 (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.hxx2
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;