Don't bother getting the font in layout() since we don't do anything with

it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@799 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
shaper
2002-07-23 03:06:59 +00:00
parent 1f5a5495c7
commit 6be599416f
@@ -1,5 +1,5 @@
// //
// $Id: Label.java,v 1.17 2002/07/18 18:14:02 ray Exp $ // $Id: Label.java,v 1.18 2002/07/23 03:06:59 shaper Exp $
// //
// samskivert library - useful routines for java programs // samskivert library - useful routines for java programs
// Copyright (C) 2002 Michael Bayne // Copyright (C) 2002 Michael Bayne
@@ -203,7 +203,6 @@ public class Label implements SwingConstants
*/ */
public void layout (Graphics2D gfx) public void layout (Graphics2D gfx)
{ {
Font font = (_font == null) ? gfx.getFont() : _font;
FontRenderContext frc = gfx.getFontRenderContext(); FontRenderContext frc = gfx.getFontRenderContext();
ArrayList layouts = null; ArrayList layouts = null;