summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 13:10:00 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 15:12:10 +0200
commit76bff82cc637c10c8dbbbb7148e07555cf8e7ff4 (patch)
tree4e090024b0fa98631748903b25c55ef625760216 /sax/source
parentd036e4df855798b31ff0e782c98be43be455883f (diff)
clang-tidy performance-unnecessary-value-param in sax
Change-Id: I46aad7b0a96210e5f3f278c3f6f3a945825b7cae
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/fshelper.cxx4
1 files changed, 2 insertions, 2 deletions
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);