diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-07 14:40:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-07 15:27:38 +0200 |
commit | 959ace5861ca8dbb5fbec7a1954eeeb3b93ae4f3 (patch) | |
tree | 7213673c1ee87c1706416b5bf037fb14dc1580cc /sw/source/ui/dbui/mmoutputtypepage.cxx | |
parent | 22d5927000a32c54b0ba0355ca9c0999d3b00fb7 (diff) |
loplugin:constparams in sw part10
Change-Id: I7d708c3e6157d0b8690b433d3363d2c0745b2410
Reviewed-on: https://gerrit.libreoffice.org/40832
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/dbui/mmoutputtypepage.cxx')
-rw-r--r-- | sw/source/ui/dbui/mmoutputtypepage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx index 45d8042b5a53..06424c743aca 100644 --- a/sw/source/ui/dbui/mmoutputtypepage.cxx +++ b/sw/source/ui/dbui/mmoutputtypepage.cxx @@ -146,7 +146,7 @@ public: virtual void mailDeliveryError(::rtl::Reference<MailDispatcher> xMailDispatcher, uno::Reference< mail::XMailMessage> xMailMessage, const OUString& sErrorMessage) override; - static void DeleteAttachments( uno::Reference< mail::XMailMessage >& xMessage ); + static void DeleteAttachments( uno::Reference< mail::XMailMessage > const & xMessage ); }; SwMailDispatcherListener_Impl::SwMailDispatcherListener_Impl(SwSendMailDialog& rParentDlg) : @@ -191,7 +191,7 @@ void SwMailDispatcherListener_Impl::mailDeliveryError( DeleteAttachments( xMailMessage ); } -void SwMailDispatcherListener_Impl::DeleteAttachments( uno::Reference< mail::XMailMessage >& xMessage ) +void SwMailDispatcherListener_Impl::DeleteAttachments( uno::Reference< mail::XMailMessage > const & xMessage ) { uno::Sequence< mail::MailAttachment > aAttachments = xMessage->getAttachments(); @@ -334,7 +334,7 @@ void SwSendMailDialog::dispose() ModelessDialog::dispose(); } -void SwSendMailDialog::AddDocument( SwMailDescriptor& rDesc ) +void SwSendMailDialog::AddDocument( SwMailDescriptor const & rDesc ) { ::osl::MutexGuard aGuard(m_pImpl->aDescriptorMutex); m_pImpl->aDescriptors.push_back(rDesc); |