summaryrefslogtreecommitdiff
path: root/shell/source/cmdmail/cmdmailsuppl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/cmdmail/cmdmailsuppl.cxx')
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index 2128ae009ab2..4582cd9547a5 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -218,7 +218,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
// Append carbon copy recipients set in the message
Sequence< OUString > aStringList = xSimpleMailMessage->getCcRecipient();
- for ( const auto& rString : std::as_const(aStringList) )
+ for (const auto& rString : aStringList)
{
aBuffer.append(" --cc ");
appendShellWord(aBuffer, rString, false);
@@ -226,7 +226,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
// Append blind carbon copy recipients set in the message
aStringList = xSimpleMailMessage->getBccRecipient();
- for ( const auto& rString : std::as_const(aStringList) )
+ for (const auto& rString : aStringList)
{
aBuffer.append(" --bcc ");
appendShellWord(aBuffer, rString, false);
@@ -241,7 +241,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
// Append attachments set in the message
aStringList = xSimpleMailMessage->getAttachement();
- for ( const auto& rString : std::as_const(aStringList) )
+ for (const auto& rString : aStringList)
{
OUString aSystemPath;
if ( FileBase::E_None == FileBase::getSystemPathFromFileURL(rString, aSystemPath) )