summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmoutputtypepage.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 14:39:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:23:38 +0200
commit3c6cb83b80b502975dce89c02401a064872b5ea3 (patch)
tree77ca629355406668a34332470c475feffe40e2ec /sw/source/ui/dbui/mmoutputtypepage.cxx
parent7b4f643f4feb28fdc92b3da7a95d0f1c7286d01a (diff)
loplugin:sequenceloop in sw
Change-Id: Icda7c89b396e5607ca847c0a8393cb27a2d50c6c Reviewed-on: https://gerrit.libreoffice.org/77530 Tested-by: Jenkins 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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx
index 8422c2aa0a50..1ec126e0323c 100644
--- a/sw/source/ui/dbui/mmoutputtypepage.cxx
+++ b/sw/source/ui/dbui/mmoutputtypepage.cxx
@@ -185,7 +185,7 @@ void SwMailDispatcherListener_Impl::mailDeliveryError(
void SwMailDispatcherListener_Impl::DeleteAttachments( uno::Reference< mail::XMailMessage > const & xMessage )
{
- uno::Sequence< mail::MailAttachment > aAttachments = xMessage->getAttachments();
+ const uno::Sequence< mail::MailAttachment > aAttachments = xMessage->getAttachments();
for(const auto& rAttachment : aAttachments)
{