~ubuntu-branches/ubuntu/raring/kdepim/raring-proposed

« back to all changes in this revision

Viewing changes to messagecomposer/messagehelper.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-07 07:56:38 UTC
  • mfrom: (0.2.27)
  • Revision ID: package-import@ubuntu.com-20120607075638-0luhdq11z7sgvs4m
Tags: 4:4.8.80-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
      message->bcc()->addAddress( mailbox );
105
105
  }
106
106
 
 
107
  if ( ident.cc().isEmpty() )
 
108
    message->cc()->clear();
 
109
  else {
 
110
    const KMime::Types::Mailbox::List mailboxes = MessageCore::StringUtil::mailboxListFromUnicodeString( ident.cc() );
 
111
    foreach ( const KMime::Types::Mailbox &mailbox, mailboxes )
 
112
      message->cc()->addAddress( mailbox );
 
113
  }
 
114
 
107
115
  if ( ident.organization().isEmpty() )
108
116
    message->removeHeader("Organization");
109
117
  else {