From 746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 11:25:24 +0200 Subject: loplugin:passstuffbyref in sax Change-Id: I95f0a17b9b8bab592a60f6b5223b4668c5355275 --- sax/source/tools/CachedOutputStream.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax') diff --git a/sax/source/tools/CachedOutputStream.hxx b/sax/source/tools/CachedOutputStream.hxx index f32693e70f92..b93abcb63740 100644 --- a/sax/source/tools/CachedOutputStream.hxx +++ b/sax/source/tools/CachedOutputStream.hxx @@ -51,7 +51,7 @@ public: {} ~CachedOutputStream() {} - css::uno::Reference< css::io::XOutputStream > getOutputStream() const + const css::uno::Reference< css::io::XOutputStream >& getOutputStream() const { return mxOutputStream; } -- cgit