From 75894d5c6afd3f4d206b50c529d83db9c1f8232d Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 18 Feb 2021 15:06:44 +0200 Subject: loplugin:refcounting in xmloff Change-Id: I739aa5914359edc4fdfdc341b09718ddbb7c04e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111121 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/transform/FrameOOoTContext.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/transform/FrameOOoTContext.cxx') diff --git a/xmloff/source/transform/FrameOOoTContext.cxx b/xmloff/source/transform/FrameOOoTContext.cxx index cb60b528384e..a8cbd5a8fbfa 100644 --- a/xmloff/source/transform/FrameOOoTContext.cxx +++ b/xmloff/source/transform/FrameOOoTContext.cxx @@ -50,14 +50,14 @@ void XMLFrameOOoTransformerContext::StartElement( OSL_ENSURE( pActions, "go no actions" ); Reference< XAttributeList > xAttrList( rAttrList ); - XMLMutableAttributeList *pMutableAttrList = + rtl::Reference pMutableAttrList = GetTransformer().ProcessAttrList( xAttrList, OOO_SHAPE_ACTIONS, true ); if( !pMutableAttrList ) pMutableAttrList = new XMLMutableAttributeList( rAttrList ); xAttrList = pMutableAttrList; - XMLMutableAttributeList *pFrameMutableAttrList = + rtl::Reference pFrameMutableAttrList = new XMLMutableAttributeList; Reference< XAttributeList > xFrameAttrList( pFrameMutableAttrList ); -- cgit