summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:58:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit2eb5a59a220d4cd2167fb59349ab13ca7663b78d (patch)
treef99f978a80138722e971b6966dc5882f45294c4c /sax
parent646aabc06c4bd10b2dbf9ac83ccb5c7ea1cc7283 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: If18f0a749c1e474c302fd797c2a2abc2b33a0730
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