Remove excess logging

This commit is contained in:
ehouse 2007-01-27 15:12:13 +00:00
parent 20ea6b3949
commit 839cc6d5dc

View file

@ -415,29 +415,20 @@ drawFocusRingOnGadget( XP_U16 idLow, XP_U16 idHigh )
form = FrmGetActiveForm(); form = FrmGetActiveForm();
index = FrmGetFocus( form ); index = FrmGetFocus( form );
XP_LOGF( "%s: FrmGetFocus=>%d", __FUNCTION__, index );
if ( index >= 0 ) { if ( index >= 0 ) {
focusID = FrmGetObjectId( form, index ); focusID = FrmGetObjectId( form, index );
XP_LOGF( "%s: FrmGetObjectId=>%d", __FUNCTION__, focusID );
if ( (focusID >= idLow) && (focusID <= idHigh) ) { if ( (focusID >= idLow) && (focusID <= idHigh) ) {
Err err; Err err;
RectangleType rect; RectangleType rect;
getObjectBounds( focusID, &rect ); getObjectBounds( focusID, &rect );
XP_LOGF( "focusID=%d; index=%d", focusID, index );
XP_LOGF( "rect=%d,%d,%d,%d", rect.topLeft.x, rect.topLeft.y,
rect.extent.x, rect.extent.y );
/* growing the rect didn't work to fix glitches in ring drawing. */ /* growing the rect didn't work to fix glitches in ring drawing. */
err = HsNavDrawFocusRing( form, focusID, 0, &rect, err = HsNavDrawFocusRing( form, focusID, 0, &rect,
hsNavFocusRingStyleObjectTypeDefault, hsNavFocusRingStyleObjectTypeDefault,
false ); false );
if ( err != errNone ) { XP_ASSERT( err == errNone );
XP_LOGF( "%s: err=%d (0x%x)", __FUNCTION__, err, err );
}
XP_ASSERT( err == errNone ); /* firing */
} }
} }
LOG_RETURN_VOID(); LOG_RETURN_VOID();