summaryrefslogtreecommitdiff
path: root/sc/inc/chartuno.hxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-03-02 09:20:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-03 07:36:59 +0100
commit4adfd75021d50e8e91c71bbe1526a1c752343059 (patch)
tree9e74b99d675322c37ffa8a36edd64baac7f3cb50 /sc/inc/chartuno.hxx
parent2c1ed5a5dad827cde032f27a4348e81be15889bc (diff)
loplugin:refcounting in sc
Change-Id: I0b808785e54bf1dfc9387a649aacf731b2f34d12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111801 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/chartuno.hxx')
-rw-r--r--sc/inc/chartuno.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx
index aac210fb1314..5a3ed1f1e2ac 100644
--- a/sc/inc/chartuno.hxx
+++ b/sc/inc/chartuno.hxx
@@ -50,8 +50,8 @@ private:
ScDocShell* pDocShell;
SCTAB nTab; // Charts are per sheet
- ScChartObj* GetObjectByIndex_Impl(tools::Long nIndex) const;
- ScChartObj* GetObjectByName_Impl(const OUString& aName) const;
+ rtl::Reference<ScChartObj> GetObjectByIndex_Impl(tools::Long nIndex) const;
+ rtl::Reference<ScChartObj> GetObjectByName_Impl(const OUString& aName) const;
public:
ScChartsObj(ScDocShell* pDocSh, SCTAB nT);