SF.net SVN: mahogany:[7529] trunk/M/src/mail/MailFolderCmn.cpp

[email protected] Thu, 07 Aug 2008 18:51:56 +0000
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7529
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7529&view=rev
Author:   nerijus
Date:     2008-08-07 18:51:54 +0000 (Thu, 07 Aug 2008)

Log Message:
-----------
fixing warning: deprecated conversion from string constant to 'wchar_t*'

Modified Paths:
--------------
    trunk/M/src/mail/MailFolderCmn.cpp

Modified: trunk/M/src/mail/MailFolderCmn.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCmn.cpp	2008-08-07 18:25:47 UTC (rev 7528)
+++ trunk/M/src/mail/MailFolderCmn.cpp	2008-08-07 18:51:54 UTC (rev 7529)
@@ -1800,10 +1800,10 @@
 bool MailFolderCmn::ProcessNewMail(UIdArray& uidsNew,
                                    const MFolder *folderDst)
 {
-   wxLogTrace(TRACE_MF_NEWMAIL, _T("MF(%s)::ProcessNewMail(%lu msgs) for %s"),
-              GetName().c_str(),
+   wxLogTrace(TRACE_MF_NEWMAIL, "MF(%s)::ProcessNewMail(%lu msgs) for %s",
+              GetName(),
               (unsigned long)uidsNew.GetCount(),
-              folderDst ? folderDst->GetFullName().c_str() : _T("ourselves"));
+              folderDst ? folderDst->GetFullName() : "ourselves");
 
    // use the settings for the folder where the new mail is!
    MFolder *folderWithNewMail;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/