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:
@@ -47,6 +47,11 @@
|
||||
#include "nsDebug.h"
|
||||
|
||||
#include "prmem.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(CRtfDTDLog)
|
||||
#define PRINTF NS_LOG_PRINTF(CRtfDTDLog)
|
||||
#define FLUSH NS_LOG_FLUSH(CRtfDTDLog)
|
||||
|
||||
|
||||
static NS_DEFINE_IID(kIHTMLContentSinkIID, NS_IHTML_CONTENT_SINK_IID);
|
||||
@@ -411,9 +416,9 @@ NS_IMETHODIMP CRtfDTD::BuildModel(nsIParser* aParser,nsITokenizer* aTokenizer,ns
|
||||
if(n>50) n=50;
|
||||
for(int i=0;i<n;i++){
|
||||
CToken* theToken=aTokenizer->GetTokenAt(i);
|
||||
printf("\nToken[%i],%p",i,theToken);
|
||||
PRINTF("\nToken[%i],%p",i,theToken);
|
||||
}
|
||||
printf("\n");
|
||||
PRINTF("\n");
|
||||
#endif
|
||||
|
||||
CToken* theToken=mTokenizer->PopToken();
|
||||
|
||||
Reference in New Issue
Block a user