[kazehakase-svn] [3401] *general clean up

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Tue Feb 26 03:56:44 JST 2008


Revision: 3401
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3401
Author:   pal_gene
Date:     2008-02-26 03:56:44 +0900 (Tue, 26 Feb 2008)

Log Message:
-----------
*general clean up

	modified:   module/embed/gecko/kz-mozhistorysearch.cpp

Modified Paths:
--------------
    kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp

Modified: kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp	2008-02-25 18:56:39 UTC (rev 3400)
+++ kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp	2008-02-25 18:56:44 UTC (rev 3401)
@@ -147,7 +147,7 @@
 OpenStylesheet (nsIURI* uri, nsIChannel* *result)
 {
 	nsresult rv;
-	nsCString text, cssName;
+	nsCString text;
 	PRUint32 length;
 	rv = uri->GetPath(text);
 
@@ -244,7 +244,7 @@
 	rv = sStream->NewInputStream(0, getter_AddRefs(iStream));
 	if (NS_FAILED(rv)) return rv;
 	
-	rv = NS_NewInputStreamChannel(result, uri, iStream, nsCString("text/html"), nsnull);
+	rv = NS_NewInputStreamChannel(result, uri, iStream, NS_LITERAL_CSTRING("text/html"), nsnull);
 	
 	return rv;
 }




More information about the Kazehakase-cvs mailing list
Back to archive index