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

@@ -32,6 +32,11 @@
#include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nslog.h"
NS_IMPL_LOG(nsTextWidgetLog, 0)
#define PRINTF NS_LOG_PRINTF(nsTextWidgetLog)
#define FLUSH NS_LOG_FLUSH(nsTextWidgetLog)
static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
static NS_DEFINE_IID(kILookAndFeelIID, NS_ILOOKANDFEEL_IID);
@@ -112,7 +117,7 @@ NS_METHOD nsTextWidget::GetBounds(nsRect &aRect)
#if 0
nsWindow::GetNonClientBounds(aRect);
#endif
printf("nsTextWidget::GetBounds not wrong\n"); // the following is just a placeholder
PRINTF("nsTextWidget::GetBounds not wrong\n"); // the following is just a placeholder
nsWindow::GetClientBounds(aRect);
return NS_OK;
}