From a2b2b7b07e0ddffdd836bd1b6009c0c8523fa1ae Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 Jul 2016 15:57:34 +0200 Subject: loplugin:passstuffbyref also for {css::uno,rtl}::Reference Change-Id: Ic7827a5bb9afe04e76336e98e66483eabcaa9dde --- hwpfilter/source/formula.h | 2 +- hwpfilter/source/hwpreader.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/formula.h b/hwpfilter/source/formula.h index 9ca846910241..88febf15bd98 100644 --- a/hwpfilter/source/formula.h +++ b/hwpfilter/source/formula.h @@ -42,7 +42,7 @@ public: } virtual ~Formula(){ } - void setDocumentHandler(Reference < XDocumentHandler > xHandler ) + void setDocumentHandler(Reference < XDocumentHandler > const & xHandler ) { m_rxDocumentHandler = xHandler; } diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 8f04e6e06372..82efdd40b4fe 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -84,7 +84,7 @@ public: */ virtual sal_Bool SAL_CALL filter(const Sequence< PropertyValue >& aDescriptor) throw (RuntimeException, std::exception) override; virtual void SAL_CALL cancel() throw(RuntimeException, std::exception) override {} - void SAL_CALL setDocumentHandler(Reference< XDocumentHandler > xHandler) + void SAL_CALL setDocumentHandler(Reference< XDocumentHandler > const & xHandler) { m_rxDocumentHandler = xHandler; } -- cgit