From 26ec507dd2435454e2bf01233ebb0ee76bbae5cf Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 23 Jun 2000 13:19:50 +0000 Subject: [PATCH] Better fix for printf spewage. git-svn-id: svn://10.0.0.236/trunk@73056 18797224-902f-48f8-a5cc-f745e15eee43 --- .../layout/html/forms/src/nsGfxTextControlFrame2.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp b/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp index a462a07e36e..e3e8612284a 100644 --- a/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp +++ b/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp @@ -1434,15 +1434,10 @@ NS_IMETHODIMP nsGfxTextControlFrame2::GetMinSize(nsBoxLayoutState& aState, nsSize& aSize) { -#if 0 +#ifdef FIX_FOR_BUG_40596 aSize = mMinSize; - printf("nsGfxTextControlFrame2::GetMinSize %d,%d\n", aSize.width, aSize.height); return NS_OK; #else - nsBox::GetMinSize(aState, aSize); -#ifdef DEBUG_rods - printf("nsGfxTextControlFrame2::GetMinSize %d,%d\n", aSize.width, aSize.height); -#endif return nsBox::GetMinSize(aState, aSize); #endif } @@ -1450,10 +1445,6 @@ nsGfxTextControlFrame2::GetMinSize(nsBoxLayoutState& aState, nsSize& aSize) NS_IMETHODIMP nsGfxTextControlFrame2::GetMaxSize(nsBoxLayoutState& aState, nsSize& aSize) { - nsBox::GetMaxSize(aState, aSize); -#ifdef DEBUG_rods - printf("nsGfxTextControlFrame2::GetMaxSize %d,%d\n", aSize.width, aSize.height); -#endif return nsBox::GetMaxSize(aState, aSize); }