diff options
-rw-r--r-- | include/sax/fshelper.hxx | 4 | ||||
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 2 | ||||
-rw-r--r-- | sax/source/fastparser/legacyfastparser.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/sax/fshelper.hxx b/include/sax/fshelper.hxx index 4c79a367eb80..badbc2928a89 100644 --- a/include/sax/fshelper.hxx +++ b/include/sax/fshelper.hxx @@ -115,11 +115,11 @@ public: { endElement( FSNS( namespaceTokenId, elementTokenId ) ); } void singleElement(sal_Int32 elementTokenId, const XFastAttributeListRef& xAttrList); - inline void singleElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId, XFastAttributeListRef xAttrList) + inline void singleElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId, XFastAttributeListRef const & xAttrList) { singleElement(FSNS( namespaceTokenId, elementTokenId), xAttrList); } void startElement(sal_Int32 elementTokenId, const XFastAttributeListRef& xAttrList); - inline void startElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId, XFastAttributeListRef xAttrList) + inline void startElementNS(sal_Int32 namespaceTokenId, sal_Int32 elementTokenId, XFastAttributeListRef const & xAttrList) { startElement( FSNS( namespaceTokenId, elementTokenId ), xAttrList ); } FastSerializerHelper* write(const char* value); diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index b055ae49bfce..3679a396a168 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -107,7 +107,7 @@ private: sal_uInt32& rPos) throw( SAXException ); inline void FinishStartElement() throw( SAXException ); public: - explicit SaxWriterHelper(Reference< XOutputStream > m_TempOut) + explicit SaxWriterHelper(Reference< XOutputStream > const & m_TempOut) : m_out(m_TempOut) , m_Sequence(SEQUENCESIZE) , mp_Sequence(nullptr) diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx index 8210ab0c8be6..94929a67d344 100644 --- a/sax/source/fastparser/legacyfastparser.cxx +++ b/sax/source/fastparser/legacyfastparser.cxx @@ -87,7 +87,7 @@ class CallbackDocumentHandler : public WeakImplHelper< XFastDocumentHandler > private: Reference< XDocumentHandler > m_xDocumentHandler; public: - CallbackDocumentHandler( Reference< XDocumentHandler > xDocumentHandler ) + CallbackDocumentHandler( Reference< XDocumentHandler > const & xDocumentHandler ) { m_xDocumentHandler.set( xDocumentHandler ); } // XFastDocumentHandler |