diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-22 10:46:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-22 13:39:58 +0100 |
commit | 18aafdd0f936ab6bb4225447a328f5471d143b0d (patch) | |
tree | 194a080da5406a94d9a32e939f689b2037964c73 /accessibility/source/extended/AccessibleBrowseBox.cxx | |
parent | dffe94959ada5297c7c719497395f5dfe66c4d2f (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/AccessibleBrowseBox.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBox.cxx b/accessibility/source/extended/AccessibleBrowseBox.cxx index 28698162ed48..c6fb251b849e 100644 --- a/accessibility/source/extended/AccessibleBrowseBox.cxx +++ b/accessibility/source/extended/AccessibleBrowseBox.cxx @@ -212,7 +212,7 @@ AccessibleBrowseBox::implGetHeaderBar(vcl::AccessibleBrowseBoxObjType eObjType) { if( !pxMember->is() ) { - AccessibleBrowseBoxHeaderBar* pHeaderBar = new AccessibleBrowseBoxHeaderBar( + rtl::Reference<AccessibleBrowseBoxHeaderBar> pHeaderBar = new AccessibleBrowseBoxHeaderBar( m_aCreator, *mpBrowseBox, eObjType ); *pxMember = pHeaderBar; } |