From 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Jul 2016 09:22:27 +0200 Subject: improve passstuffbyref return analysis Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins Reviewed-by: Noel Grandin --- package/source/xstor/owriteablestream.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/source/xstor/owriteablestream.hxx') diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx index a1dcaf3f5587..63c7fccee258 100644 --- a/package/source/xstor/owriteablestream.hxx +++ b/package/source/xstor/owriteablestream.hxx @@ -124,8 +124,8 @@ struct OWriteStream_Impl : public MutexHolder sal_Int32 m_nRelId; private: - OUString GetFilledTempFileIfNo( const css::uno::Reference< css::io::XInputStream >& xStream ); - OUString FillTempGetFileName(); + OUString const & GetFilledTempFileIfNo( const css::uno::Reference< css::io::XInputStream >& xStream ); + OUString const & FillTempGetFileName(); css::uno::Reference< css::io::XStream > GetTempFileAsStream(); css::uno::Reference< css::io::XInputStream > GetTempFileAsInputStream(); @@ -187,7 +187,7 @@ public: void Commit(); void Revert(); - css::uno::Sequence< css::beans::PropertyValue > GetStreamProperties(); + css::uno::Sequence< css::beans::PropertyValue > const & GetStreamProperties(); css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > GetAllRelationshipsIfAny(); -- cgit