From 76bff82cc637c10c8dbbbb7148e07555cf8e7ff4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Apr 2016 13:10:00 +0200 Subject: clang-tidy performance-unnecessary-value-param in sax Change-Id: I46aad7b0a96210e5f3f278c3f6f3a945825b7cae --- sax/source/tools/fshelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sax/source') diff --git a/sax/source/tools/fshelper.cxx b/sax/source/tools/fshelper.cxx index e2150d47e12d..9456743d80bc 100644 --- a/sax/source/tools/fshelper.cxx +++ b/sax/source/tools/fshelper.cxx @@ -85,14 +85,14 @@ void FastSerializerHelper::endElement(sal_Int32 elementTokenId) mpSerializer->endFastElement(elementTokenId); } -void FastSerializerHelper::startElement(sal_Int32 elementTokenId, XFastAttributeListRef xAttrList) +void FastSerializerHelper::startElement(sal_Int32 elementTokenId, const XFastAttributeListRef& xAttrList) { FastAttributeList* pAttrList = dynamic_cast< FastAttributeList* >(xAttrList.get()); assert(pAttrList); mpSerializer->startFastElement(elementTokenId, pAttrList); } -void FastSerializerHelper::singleElement(sal_Int32 elementTokenId, XFastAttributeListRef xAttrList) +void FastSerializerHelper::singleElement(sal_Int32 elementTokenId, const XFastAttributeListRef& xAttrList) { FastAttributeList* pAttrList = dynamic_cast< FastAttributeList* >(xAttrList.get()); assert(pAttrList); -- cgit v1.2.3