summaryrefslogtreecommitdiff
path: root/include/sax
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 /include/sax
parentd036e4df855798b31ff0e782c98be43be455883f (diff)
clang-tidy performance-unnecessary-value-param in sax
Change-Id: I46aad7b0a96210e5f3f278c3f6f3a945825b7cae
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fshelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sax/fshelper.hxx b/include/sax/fshelper.hxx
index e1046b12cbfc..4c79a367eb80 100644
--- a/include/sax/fshelper.hxx
+++ b/include/sax/fshelper.hxx
@@ -114,11 +114,11 @@ public:
inline void endElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId)
{ endElement( FSNS( namespaceTokenId, elementTokenId ) ); }
- void singleElement(sal_Int32 elementTokenId, XFastAttributeListRef xAttrList);
+ void singleElement(sal_Int32 elementTokenId, const XFastAttributeListRef& xAttrList);
inline void singleElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId, XFastAttributeListRef xAttrList)
{ singleElement(FSNS( namespaceTokenId, elementTokenId), xAttrList); }
- void startElement(sal_Int32 elementTokenId, XFastAttributeListRef xAttrList);
+ void startElement(sal_Int32 elementTokenId, const XFastAttributeListRef& xAttrList);
inline void startElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId, XFastAttributeListRef xAttrList)
{ startElement( FSNS( namespaceTokenId, elementTokenId ), xAttrList ); }