summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-21 12:33:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-21 16:13:31 +0100
commit78040af9acea0ab681aa54ff23844b647bc9b4f3 (patch)
tree6fb704389c3e98594d6bf2f187bf295aa42c77ef /sc/inc
parent8f231fc5df201c45d16bce0b4b17f727842b2121 (diff)
loplugin:refcounting in sc
Change-Id: Id0ba24985aab36b931fa74b266dc5bf0bef62bb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111273 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/cellsuno.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index ee6b59eec1ab..3c19e9ff88de 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -1096,7 +1096,7 @@ private:
ScRange aTotalRange;
private:
- ScCellRangeObj* GetObjectByIndex_Impl(tools::Long nIndex) const;
+ rtl::Reference<ScCellRangeObj> GetObjectByIndex_Impl(tools::Long nIndex) const;
public:
ScCellFormatsObj(ScDocShell* pDocSh, const ScRange& rR);
@@ -1137,7 +1137,7 @@ private:
private:
void Advance_Impl();
- ScCellRangeObj* NextObject_Impl();
+ rtl::Reference<ScCellRangeObj> NextObject_Impl();
public:
ScCellFormatsEnumeration(ScDocShell* pDocSh, const ScRange& rR);