From 586cfef1df9fb99aaf018029b7f06363e96bc72b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 20 Jul 2019 13:30:53 +0200 Subject: loplugin:referencecasting in sw Change-Id: Ib5de4377b22815ba718559ff6fcfd6ab5a0547a6 Reviewed-on: https://gerrit.libreoffice.org/75999 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/dbui/mailmergehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/dbui/mailmergehelper.cxx') 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&) { -- cgit