diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 15:57:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | a2b2b7b07e0ddffdd836bd1b6009c0c8523fa1ae (patch) | |
tree | 489bc714ef551026613cd1cda74082283fc3b495 /hwpfilter | |
parent | 91c64aa718cfa14f9e568ec7d0dc967c28d24cfd (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ic7827a5bb9afe04e76336e98e66483eabcaa9dde
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/formula.h | 2 | ||||
-rw-r--r-- | hwpfilter/source/hwpreader.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |