From 91f13f44f26e817b6211c48ca38dcffee4f8fa37 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 5 Jun 2020 07:37:06 +0200 Subject: Upcoming loplugin:elidestringvar: shell Change-Id: I4459f995f7515beeb2e4d2446cfe4cdcfb1a07ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95548 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- shell/source/cmdmail/cmdmailsuppl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index bbd0ae07d4cf..415a6c4d0051 100644 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -159,11 +159,10 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM // Query XNameAccess interface of the org.openoffice.Office.Common/ExternalMailer // configuration node to retrieve the users preferred email application. This may // transparently by redirected to e.g. the corresponding GConf setting in GNOME. - OUString aConfigRoot = "org.openoffice.Office.Common/ExternalMailer"; PropertyValue aProperty; aProperty.Name = "nodepath"; - aProperty.Value <<= aConfigRoot; + aProperty.Value <<= OUString("org.openoffice.Office.Common/ExternalMailer"); Sequence< Any > aArgumentList( 1 ); aArgumentList[0] <<= aProperty; -- cgit