diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-02 09:20:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-03 07:36:59 +0100 |
commit | 4adfd75021d50e8e91c71bbe1526a1c752343059 (patch) | |
tree | 9e74b99d675322c37ffa8a36edd64baac7f3cb50 /sc/inc/datauno.hxx | |
parent | 2c1ed5a5dad827cde032f27a4348e81be15889bc (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/datauno.hxx')
-rw-r--r-- | sc/inc/datauno.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx index b3d27827b77c..17b5fb63e61f 100644 --- a/sc/inc/datauno.hxx +++ b/sc/inc/datauno.hxx @@ -117,7 +117,7 @@ class ScSubTotalDescriptorBase : public cppu::WeakImplHelper< private: SfxItemPropertySet aPropSet; - ScSubTotalFieldObj* GetObjectByIndex_Impl(sal_uInt16 nIndex); + rtl::Reference<ScSubTotalFieldObj> GetObjectByIndex_Impl(sal_uInt16 nIndex); public: ScSubTotalDescriptorBase(); @@ -489,8 +489,8 @@ class ScDatabaseRangesObj final : public cppu::WeakImplHelper< private: ScDocShell* pDocShell; - ScDatabaseRangeObj* GetObjectByIndex_Impl(size_t nIndex); - ScDatabaseRangeObj* GetObjectByName_Impl(const OUString& aName); + rtl::Reference<ScDatabaseRangeObj> GetObjectByIndex_Impl(size_t nIndex); + rtl::Reference<ScDatabaseRangeObj> GetObjectByName_Impl(const OUString& aName); public: ScDatabaseRangesObj(ScDocShell* pDocSh); |