summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx2
-rw-r--r--sax/source/fastparser/legacyfastparser.cxx2
2 files changed, 2 insertions, 2 deletions
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