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:
@@ -63,6 +63,11 @@
|
||||
#include "nsITextContent.h"
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsFormControlHelperLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsFormControlHelperLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsFormControlHelperLog)
|
||||
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
||||
@@ -343,8 +348,8 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext* aPresContext,
|
||||
}
|
||||
|
||||
#ifdef DEBUG_rodsXXXX
|
||||
printf("********* Nav Quirks: %d,%d max:%d average:%d ascent:%d descent:%d\n",
|
||||
width, height, maxCharWidth, average, ascent, descent);
|
||||
PRINTF("********* Nav Quirks: %d,%d max:%d average:%d ascent:%d descent:%d\n",
|
||||
width, height, maxCharWidth, average, ascent, descent);
|
||||
#endif
|
||||
|
||||
aSize.width = NSIntPixelsToTwips(width, p2t);
|
||||
|
||||
Reference in New Issue
Block a user