diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-19 16:55:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-19 16:55:06 +0200 |
commit | 8f30da6386fa414b9fe4c704b294a978df77347b (patch) | |
tree | 980e4018acff7a24a6399e33d7e1897fa6c9308c /ucbhelper | |
parent | 9e310a4705ce956551059040696166aefb2388cb (diff) |
Some clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &".
Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/std_inputstream.cxx | 2 | ||||
-rw-r--r-- | ucbhelper/source/provider/std_outputstream.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 ) { } |