diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 13:10:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 15:12:10 +0200 |
commit | 76bff82cc637c10c8dbbbb7148e07555cf8e7ff4 (patch) | |
tree | 4e090024b0fa98631748903b25c55ef625760216 /include/sax | |
parent | BASIC: Remove useless static_cast from basmgr.cxx (diff) | |
download | core-76bff82cc637c10c8dbbbb7148e07555cf8e7ff4.tar.gz core-76bff82cc637c10c8dbbbb7148e07555cf8e7ff4.zip |
clang-tidy performance-unnecessary-value-param in sax
Change-Id: I46aad7b0a96210e5f3f278c3f6f3a945825b7cae
Diffstat (limited to 'include/sax')
-rw-r--r-- | include/sax/fshelper.hxx | 4 |
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 ); } |