Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21687/src/classes

Modified Files:
        MessageView.cpp 
Log Message:
changed MailFolder::SaveMessageAsMBOX() to take ptr+len instead of a String (it is 
wasteful as leads to unnecessary copy)

Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.155
retrieving revision 1.156
diff -b -u -2 -r1.155 -r1.156
--- MessageView.cpp     16 Jul 2004 11:14:51 -0000      1.155
+++ MessageView.cpp     13 Aug 2004 21:53:42 -0000      1.156
@@ -2849,9 +2849,5 @@
          // saving the messages is special, we have a separate function for
          // this as it's also done from elsewhere
-         ok = MailFolder::SaveMessageAsMBOX
-              (
-                filename,
-                String((const wxChar *)content, len)
-              );
+         ok = MailFolder::SaveMessageAsMBOX(filename, content, len);
       }
       else // not a message



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to