From 8f30da6386fa414b9fe4c704b294a978df77347b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 19 Aug 2016 16:55:06 +0200 Subject: Some clang-tidy misc-move-constructor-init ...by turning the relevant ctor parameters into "const &". Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc --- ucbhelper/source/provider/std_inputstream.cxx | 2 +- ucbhelper/source/provider/std_outputstream.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucbhelper') diff --git a/ucbhelper/source/provider/std_inputstream.cxx b/ucbhelper/source/provider/std_inputstream.cxx index 513b9db9f53b..506e953e9e48 100644 --- a/ucbhelper/source/provider/std_inputstream.cxx +++ b/ucbhelper/source/provider/std_inputstream.cxx @@ -18,7 +18,7 @@ using namespace com::sun::star; namespace ucbhelper { - StdInputStream::StdInputStream( boost::shared_ptr< istream > pStream ) : + StdInputStream::StdInputStream( boost::shared_ptr< istream > const & pStream ) : m_pStream( pStream ), m_nLength( 0 ) { diff --git a/ucbhelper/source/provider/std_outputstream.cxx b/ucbhelper/source/provider/std_outputstream.cxx index 390ddbe4b408..bfe5efa0ea39 100644 --- a/ucbhelper/source/provider/std_outputstream.cxx +++ b/ucbhelper/source/provider/std_outputstream.cxx @@ -18,7 +18,7 @@ using namespace com::sun::star; namespace ucbhelper { - StdOutputStream::StdOutputStream( boost::shared_ptr< ostream > pStream ) : + StdOutputStream::StdOutputStream( boost::shared_ptr< ostream > const & pStream ) : m_pStream( pStream ) { } -- cgit