diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 16:00:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 04aed0574fdfd3f173c32d2370c8596e63fba3b1 (patch) | |
tree | c073aa9184a741a847a2150ba13e2b564dde2fc5 /writerperfect/source/common/WPXSvInputStream.cxx | |
parent | dad4ddbbde689340d90f0480b838577dbbe618fe (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I7b11fa9efc507635506bfedb141ad02c2afa68c9
Diffstat (limited to 'writerperfect/source/common/WPXSvInputStream.cxx')
-rw-r--r-- | writerperfect/source/common/WPXSvInputStream.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index caaf3f34214b..fd0bd791ca66 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -400,7 +400,7 @@ class WPXSvInputStreamImpl { public: explicit WPXSvInputStreamImpl(css::uno::Reference< - css::io::XInputStream > xStream); + css::io::XInputStream > const & xStream); ~WPXSvInputStreamImpl(); bool isStructured(); @@ -442,7 +442,7 @@ public: unsigned long mnReadBufferPos; }; -WPXSvInputStreamImpl::WPXSvInputStreamImpl(Reference< XInputStream > xStream) : +WPXSvInputStreamImpl::WPXSvInputStreamImpl(Reference< XInputStream > const & xStream) : mxStream(xStream), mxSeekable(xStream, UNO_QUERY), maData(0), @@ -809,7 +809,7 @@ void WPXSvInputStreamImpl::ensureZipIsInitialized() mpZipStorage->initialize(); } -WPXSvInputStream::WPXSvInputStream(Reference< XInputStream > xStream) : +WPXSvInputStream::WPXSvInputStream(Reference< XInputStream > const & xStream) : mpImpl(new WPXSvInputStreamImpl(xStream)) { } |