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/source/ui/vba/vbarange.cxx | |
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/source/ui/vba/vbarange.cxx')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 10cbc01b9a11..138857b54dfb 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -1223,7 +1223,7 @@ bool getScRangeListForAddress( const OUString& sName, ScDocShell* pDocSh, const } /// @throws uno::RuntimeException -static ScVbaRange* +static rtl::Reference<ScVbaRange> getRangeForName( const uno::Reference< uno::XComponentContext >& xContext, const OUString& sName, ScDocShell* pDocSh, const table::CellRangeAddress& pAddr, formula::FormulaGrammar::AddressConvention eConv = formula::FormulaGrammar::CONV_XL_A1 ) { ScRangeList aCellRanges; |