summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sax/fshelper.hxx4
-rw-r--r--sax/source/tools/fshelper.cxx4
2 files changed, 4 insertions, 4 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 ); }
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);