summaryrefslogtreecommitdiff
path: root/package/inc/ByteGrabber.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 12:08:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 11:37:19 +0000
commit62633dfe026bc3badf7066e5fb454036bae9cfdc (patch)
treeb1a30ddd709ba80b8629d916d54c03d733651d12 /package/inc/ByteGrabber.hxx
parentaa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde (diff)
clang-tidy performance-unnecessary-value-param in various
Change-Id: I7168d44dab8e6a8e37bb7920d744ff32f5e52907 Reviewed-on: https://gerrit.libreoffice.org/24019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'package/inc/ByteGrabber.hxx')
-rw-r--r--package/inc/ByteGrabber.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/inc/ByteGrabber.hxx b/package/inc/ByteGrabber.hxx
index 195606539e96..0d522f1d08b4 100644
--- a/package/inc/ByteGrabber.hxx
+++ b/package/inc/ByteGrabber.hxx
@@ -46,7 +46,7 @@ public:
ByteGrabber (css::uno::Reference < css::io::XInputStream > xIstream);
~ByteGrabber();
- void setInputStream (css::uno::Reference < css::io::XInputStream > xNewStream);
+ void setInputStream (const css::uno::Reference < css::io::XInputStream >& xNewStream);
// XInputStream
sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )
throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException);