Reviewed by John.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Sep 2004 23:21:48 +0000 (23:21 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Sep 2004 23:21:48 +0000 (23:21 +0000)
        * khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::send): Remove uneeded QCString copy.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/xmlhttprequest.cpp

index 0a437dcea9b8720a366a94dc0363c8c1067540e8..d7dbc559a9013df013b4020cfa07344766c328a1 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-06  Darin Adler  <darin@apple.com>
+
+        Reviewed by John.
+
+        * khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::send): Remove uneeded QCString copy.
+
 2004-09-04  Richard Williamson   <rjw@apple.com>
 
         Fix build problem on panther.
index 56ef853d8c146d34d5cbf71cc3635aa046adfa1d..f392a44d9643a94abf14fdc946af160d280b01b0 100644 (file)
@@ -317,7 +317,7 @@ void XMLHttpRequest::send(const QString& _body)
 
   if (method.lower() == "post" && (url.protocol().lower() == "http" || url.protocol().lower() == "https") ) {
       // FIXME: determine post encoding correctly by looking in headers for charset
-      job = KIO::http_post( url, QCString(_body.utf8()), false );
+      job = KIO::http_post( url, _body.utf8(), false );
   }
   else
   {