summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui/mailmergehelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 13:30:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 17:59:32 +0200
commit586cfef1df9fb99aaf018029b7f06363e96bc72b (patch)
treedc4be0619ab5fccdf1e8e8780ddcdfa022e2f0eb /sw/source/uibase/dbui/mailmergehelper.cxx
parentf44bd7bb0ce23535f5e0ced7966677f4fff943fc (diff)
loplugin:referencecasting in sw
Change-Id: Ib5de4377b22815ba718559ff6fcfd6ab5a0547a6 Reviewed-on: https://gerrit.libreoffice.org/75999 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dbui/mailmergehelper.cxx')
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index cd01bbfb9e19..f65eb9c96620 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -152,7 +152,7 @@ uno::Reference< mail::XSmtpService > ConnectToSmtpServer(
rConfigItem.GetMailPort(),
rConfigItem.IsSecureConnection() ? OUString("Ssl") : OUString("Insecure") );
xSmtpServer->connect(xConnectionContext, xAuthenticator);
- rxInMailService.set( xSmtpServer, uno::UNO_QUERY );
+ rxInMailService = xSmtpServer;
}
catch (const uno::Exception&)
{