summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/AccessibleGridControlTableCell.cxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-22 10:46:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-22 13:39:58 +0100
commit18aafdd0f936ab6bb4225447a328f5471d143b0d (patch)
tree194a080da5406a94d9a32e939f689b2037964c73 /accessibility/source/extended/AccessibleGridControlTableCell.cxx
parentdffe94959ada5297c7c719497395f5dfe66c4d2f (diff)
loplugin:refcounting in accessibility
Change-Id: Ic9e780dc3f834e2e8b5d3a8d8445419a4bd050dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111300 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source/extended/AccessibleGridControlTableCell.cxx')
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableCell.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
index 545df2f00d94..1096e24115f7 100644
--- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
@@ -174,9 +174,9 @@ namespace accessibility
@return
A filled AccessibleStateSetHelper.
*/
- ::utl::AccessibleStateSetHelper* AccessibleGridControlTableCell::implCreateStateSetHelper()
+ rtl::Reference<::utl::AccessibleStateSetHelper> AccessibleGridControlTableCell::implCreateStateSetHelper()
{
- ::utl::AccessibleStateSetHelper* pStateSetHelper = new ::utl::AccessibleStateSetHelper;
+ rtl::Reference<::utl::AccessibleStateSetHelper> pStateSetHelper = new ::utl::AccessibleStateSetHelper;
if( isAlive() )
{