summaryrefslogtreecommitdiff
path: root/shell/source/cmdmail
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-31 17:51:16 +0200
committerNoel Grandin <noel@peralex.com>2013-11-08 14:50:59 +0200
commitda20c7f4396b127072074f4d7999ed29deee02f0 (patch)
tree4d7b90d7731fc1f37ff8fa3b21d59cecc216236b /shell/source/cmdmail
parentcd30747b74683dc5766073a4a9b3a4c0e5db3723 (diff)
remove unnecessary use of OUString constructor in SHELL module
Change-Id: Ibdb750dc8e0f4cd0f186d5801c0a269edd939547
Diffstat (limited to 'shell/source/cmdmail')
-rw-r--r--shell/source/cmdmail/cmdmailmsg.cxx14
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx2
2 files changed, 8 insertions, 8 deletions
diff --git a/shell/source/cmdmail/cmdmailmsg.cxx b/shell/source/cmdmail/cmdmailmsg.cxx
index 20ca8f7acd94..fa080d92f9a6 100644
--- a/shell/source/cmdmail/cmdmailmsg.cxx
+++ b/shell/source/cmdmail/cmdmailmsg.cxx
@@ -166,25 +166,25 @@ Sequence< OUString > SAL_CALL CmdMailMsg::getElementNames( )
Sequence< OUString > aRet( 7 );
if( !m_aBody.isEmpty() )
- aRet[nItems++] = OUString("body");
+ aRet[nItems++] = "body";
if( !m_aOriginator.isEmpty() )
- aRet[nItems++] = OUString("from");
+ aRet[nItems++] = "from";
if( !m_aRecipient.isEmpty() )
- aRet[nItems++] = OUString("to");
+ aRet[nItems++] = "to";
if( m_CcRecipients.getLength() )
- aRet[nItems++] = OUString("cc");
+ aRet[nItems++] = "cc";
if( m_BccRecipients.getLength() )
- aRet[nItems++] = OUString("bcc");
+ aRet[nItems++] = "bcc";
if( !m_aSubject.isEmpty() )
- aRet[nItems++] = OUString("subject");
+ aRet[nItems++] = "subject";
if( m_Attachments.getLength() )
- aRet[nItems++] = OUString("attachment");
+ aRet[nItems++] = "attachment";
aRet.realloc( nItems );
return aRet;
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index ab670afbde59..5b1b403cd0ec 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -145,7 +145,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
OUString aConfigRoot = "org.openoffice.Office.Common/ExternalMailer";
PropertyValue aProperty;
- aProperty.Name = OUString("nodepath");
+ aProperty.Name = "nodepath";
aProperty.Value = makeAny( aConfigRoot );
Sequence< Any > aArgumentList( 1 );