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:
@@ -40,6 +40,11 @@
|
||||
#include "nsMathMLmpaddedFrame.h"
|
||||
|
||||
#include "xp_str.h" // to get XP_IS_SPACE
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsMathMLmpaddedFrameLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsMathMLmpaddedFrameLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsMathMLmpaddedFrameLog)
|
||||
|
||||
//
|
||||
// <mpadded> -- adjust space around content - implementation
|
||||
@@ -193,7 +198,7 @@ nsMathMLmpaddedFrame::ParseAttribute(nsString& aString,
|
||||
#ifdef NS_DEBUG
|
||||
char str[50];
|
||||
aString.ToCString(str, 50);
|
||||
printf("mpadded: attribute with bad numeric value: %s\n", str);
|
||||
PRINTF("mpadded: attribute with bad numeric value: %s\n", str);
|
||||
#endif
|
||||
aSign = NS_MATHML_SIGN_INVALID;
|
||||
return PR_FALSE;
|
||||
@@ -221,7 +226,7 @@ nsMathMLmpaddedFrame::ParseAttribute(nsString& aString,
|
||||
#ifdef NS_DEBUG
|
||||
char str[50];
|
||||
aString.ToCString(str, 50);
|
||||
printf("mpadded: attribute with bad numeric value: %s\n", str);
|
||||
PRINTF("mpadded: attribute with bad numeric value: %s\n", str);
|
||||
#endif
|
||||
aCSSValue.Reset();
|
||||
aSign = NS_MATHML_SIGN_INVALID;
|
||||
@@ -276,7 +281,7 @@ nsMathMLmpaddedFrame::ParseAttribute(nsString& aString,
|
||||
#ifdef NS_DEBUG
|
||||
char str[50];
|
||||
aString.ToCString(str, 50);
|
||||
printf("mpadded: attribute with bad numeric value: %s\n", str);
|
||||
PRINTF("mpadded: attribute with bad numeric value: %s\n", str);
|
||||
#endif
|
||||
aCSSValue.Reset();
|
||||
aSign = NS_MATHML_SIGN_INVALID;
|
||||
|
||||
Reference in New Issue
Block a user