diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-02-17 11:06:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-02-26 16:56:56 +0100 |
commit | 09e2627a83d4769983c39fb2cb260e11fce354f3 (patch) | |
tree | c070d53da0092ef3826a2511d4ae875143576253 /xmloff/source/transform/FrameOOoTContext.cxx | |
parent | a4ab140ec079b86857145f5370d083b5e2c38440 (diff) |
use more concrete UNO types in some local vars
found by a little plugin I created.
Plugin parked into store/ folder because it needs hand-holding
when run.
Change-Id: I2b4da7378f0becbc5f020ac9e78cd765aa0119b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181768
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'xmloff/source/transform/FrameOOoTContext.cxx')
-rw-r--r-- | xmloff/source/transform/FrameOOoTContext.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/transform/FrameOOoTContext.cxx b/xmloff/source/transform/FrameOOoTContext.cxx index 5054f94f1d1c..ff507e4dbbad 100644 --- a/xmloff/source/transform/FrameOOoTContext.cxx +++ b/xmloff/source/transform/FrameOOoTContext.cxx @@ -59,7 +59,6 @@ void XMLFrameOOoTransformerContext::StartElement( rtl::Reference<XMLMutableAttributeList> pFrameMutableAttrList = new XMLMutableAttributeList; - Reference< XAttributeList > xFrameAttrList( pFrameMutableAttrList ); sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; for( sal_Int16 i=0; i < nAttrCount; i++ ) @@ -91,7 +90,7 @@ void XMLFrameOOoTransformerContext::StartElement( } GetTransformer().GetDocHandler()->startElement( m_aElemQName, - xFrameAttrList ); + Reference< XAttributeList >( pFrameMutableAttrList ) ); XMLTransformerContext::StartElement( xAttrList ); } |