summaryrefslogtreecommitdiff
path: root/package/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:57:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitd94d88d375ceb32237eadb549c3a4cee544ca9ab (patch)
tree5c0e217b3f2ef2aa23ec2effdca563dde01d1f17 /package/inc
parent607ef95608592f2db88a8b4cf65dfc2e488b07a9 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ie05f9427dcd88d3b64cfe02c2ece5c0cf40be547
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/ByteChucker.hxx2
-rw-r--r--package/inc/ByteGrabber.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ByteChucker.hxx b/package/inc/ByteChucker.hxx
index c18e76e99ad6..a70aedcdfc8b 100644
--- a/package/inc/ByteChucker.hxx
+++ b/package/inc/ByteChucker.hxx
@@ -39,7 +39,7 @@ protected:
sal_Int8 * const p1Sequence, * const p2Sequence, * const p4Sequence;
public:
- ByteChucker (css::uno::Reference<css::io::XOutputStream> xOstream);
+ ByteChucker (css::uno::Reference<css::io::XOutputStream> const & xOstream);
~ByteChucker();
void WriteBytes( const css::uno::Sequence< sal_Int8 >& aData )
diff --git a/package/inc/ByteGrabber.hxx b/package/inc/ByteGrabber.hxx
index 0d522f1d08b4..bfdb8e35e9a7 100644
--- a/package/inc/ByteGrabber.hxx
+++ b/package/inc/ByteGrabber.hxx
@@ -43,7 +43,7 @@ protected:
const sal_Int8 *pSequence;
public:
- ByteGrabber (css::uno::Reference < css::io::XInputStream > xIstream);
+ ByteGrabber (css::uno::Reference < css::io::XInputStream > const & xIstream);
~ByteGrabber();
void setInputStream (const css::uno::Reference < css::io::XInputStream >& xNewStream);