summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/maildispatcher.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit9f7f7d6cfa379a25730bfe8fb2d4638c08e59b90 (patch)
tree63a9c9364b850e8f011ffbed9e51221921fd74cf /sw/source/uibase/inc/maildispatcher.hxx
parenteb96c8634a890071c72592a51afdacc2120a08b9 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I7e7cdfa5efaf18bb47d40947d4e1d91a2c9b5a57
Diffstat (limited to 'sw/source/uibase/inc/maildispatcher.hxx')
-rw-r--r--sw/source/uibase/inc/maildispatcher.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/maildispatcher.hxx b/sw/source/uibase/inc/maildispatcher.hxx
index 34f0cda32bea..329589049555 100644
--- a/sw/source/uibase/inc/maildispatcher.hxx
+++ b/sw/source/uibase/inc/maildispatcher.hxx
@@ -61,7 +61,7 @@ public:
@throws css::uno::RuntimeException
on errors during construction of an instance of this class.
*/
- MailDispatcher(css::uno::Reference< css::mail::XSmtpService> xMailService);
+ MailDispatcher(css::uno::Reference< css::mail::XSmtpService> const & xMailService);
/**
Shutdown the mail dispatcher. Every mail messages
@@ -77,7 +77,7 @@ public:
@param xMailMessage
[in] a mail message that should be send.
*/
- void enqueueMailMessage(css::uno::Reference< css::mail::XMailMessage> xMailMessage);
+ void enqueueMailMessage(css::uno::Reference< css::mail::XMailMessage> const & xMailMessage);
/**
Dequeues a mail message.
This enables the caller to remove attachments when sending mails is to be cancelled.
@@ -130,7 +130,7 @@ public:
/**
Register a listener for mail dispatcher events.
*/
- void addListener(::rtl::Reference<IMailDispatcherListener> listener);
+ void addListener(::rtl::Reference<IMailDispatcherListener> const & listener);
protected:
virtual void SAL_CALL run() override;
@@ -138,7 +138,7 @@ protected:
private:
std::list< ::rtl::Reference<IMailDispatcherListener> > cloneListener();
- void sendMailMessageNotifyListener(css::uno::Reference< css::mail::XMailMessage> message);
+ void sendMailMessageNotifyListener(css::uno::Reference< css::mail::XMailMessage> const & message);
private:
css::uno::Reference< css::mail::XSmtpService> mailserver_;