sax/source/fastparser/fastparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b47733e5f0a16f3fc1bdaad5c3ec171f2fc35d02 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Sep 28 08:54:35 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Sep 28 11:03:09 2022 +0200 avoid some ref-counting in a hot path Change-Id: Ibae87fc4e2fbe11d52cd89134a253ac2215134a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140690 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 155cf656a00d..daf51f4ea1ee 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -435,7 +435,7 @@ void Entity::startElement( Event const *pEvent ) try { - Reference< XFastAttributeList > xAttr( pEvent->mxAttributes ); + const Reference< XFastAttributeList > & xAttr( pEvent->mxAttributes ); Reference< XFastContextHandler > xContext; if ( mxNamespaceHandler.is() )