From badc0769dbc645b005606e0f2ea17cffa956d05c Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 1 Sep 1998 22:48:08 +0000 Subject: [PATCH] Fixed an include and a few nsString defs git-svn-id: svn://10.0.0.236/trunk@9052 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/tests/viewer/nsViewerApp.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mozilla/webshell/tests/viewer/nsViewerApp.cpp b/mozilla/webshell/tests/viewer/nsViewerApp.cpp index 0269e4bdb6f..42270626676 100644 --- a/mozilla/webshell/tests/viewer/nsViewerApp.cpp +++ b/mozilla/webshell/tests/viewer/nsViewerApp.cpp @@ -36,7 +36,7 @@ #include "nsIButton.h" #include "nsITextWidget.h" #include "nsILookAndFeel.h" -#include "nscolor.h" +#include "nsColor.h" // XXX For font setting below #include "nsFont.h" @@ -694,8 +694,7 @@ PRBool CreateRobotDialog(nsIWidget * aParent) mVerDirTxt->SetBackgroundColor(textBGColor); mVerDirTxt->SetForegroundColor(textFGColor); mVerDirTxt->SetFont(font); - nsString verStr(DEBUG_EMPTY); - mVerDirTxt->SetText(verStr); + mVerDirTxt->SetText(DEBUG_EMPTY); mVerDirTxt->Show(PR_TRUE); nsString str(DEBUG_EMPTY); @@ -723,8 +722,7 @@ PRBool CreateRobotDialog(nsIWidget * aParent) mStopAfterTxt->SetFont(font); mStopAfterTxt->Show(PR_TRUE); - nsString str5000("5000"); - mStopAfterTxt->SetText(str5000); + mStopAfterTxt->SetText("5000"); x += 75 + 2; w = 75;