Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson

git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-10-27 22:43:51 +00:00
parent e7c9040b5e
commit c6b67eceeb
757 changed files with 10724 additions and 8223 deletions

View File

@@ -27,6 +27,11 @@
#include "nsString.h"
#include "nsStringUtil.h"
#include <TextView.h>
#include "nslog.h"
NS_IMPL_LOG(nsTextHelperLog, 0)
#define PRINTF NS_LOG_PRINTF(nsTextHelperLog)
#define FLUSH NS_LOG_FLUSH(nsTextHelperLog)
NS_METHOD nsTextHelper::PreCreateWidget(nsWidgetInitData *aInitData)
{
@@ -109,7 +114,7 @@ NS_METHOD nsTextHelper::RemoveText()
NS_METHOD nsTextHelper::SetPassword(PRBool aIsPassword)
{
mIsPassword = aIsPassword;
if(mIsPassword) printf("nsTextHelper::SetPassword not implemented\n");
if(mIsPassword) PRINTF("nsTextHelper::SetPassword not implemented\n");
return NS_OK;
}