small changes to clients of string converting APIs

git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-03-26 10:06:21 +00:00
parent f9eaf3c60a
commit d88198c611
53 changed files with 184 additions and 184 deletions

View File

@@ -650,7 +650,7 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
if (classid.Find("clsid:") != -1)
{
classid.Cut(0, 6); // Strip off the "clsid:". What's left is the class ID.
bJavaPluginClsid = (classid == JAVA_CLASS_ID);
bJavaPluginClsid = (classid.Equals(JAVA_CLASS_ID));
}
// if we find "java:" in the class id, or we match the Java classid number, we have a java applet
@@ -702,7 +702,7 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
{
// These are some builtin types that we know about for now.
// (Eventually this will move somewhere else.)
if (classid == "browser")
if (classid.Equals("browser"))
{
widgetCID = kCAppShellCID;
rv = InstantiateWidget(aPresContext, aMetrics, aReflowState, widgetCID);