[Libreoffice-commits] core.git: shell/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 5 06:47:40 UTC 2020


 shell/source/cmdmail/cmdmailsuppl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 91f13f44f26e817b6211c48ca38dcffee4f8fa37
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 5 07:37:06 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jun 5 08:47:00 2020 +0200

    Upcoming loplugin:elidestringvar: shell
    
    Change-Id: I4459f995f7515beeb2e4d2446cfe4cdcfb1a07ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95548
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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;


More information about the Libreoffice-commits mailing list