From ce22a23a9f9ec3071d52b4df5074b3811b855f5c Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Thu, 15 Jan 2004 00:12:48 +0000 Subject: [PATCH] Remove useless variable and code. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6085 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Box.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kits/interface/Box.cpp b/src/kits/interface/Box.cpp index b8726729d2..a2ae5d96fe 100644 --- a/src/kits/interface/Box.cpp +++ b/src/kits/interface/Box.cpp @@ -146,8 +146,6 @@ status_t BBox::SetLabel(BView *viewLabel) { // Update fBounds fBounds = Bounds(); - font_height fh; - GetFontHeight(&fh); fBounds.top = (float)ceil(viewLabel->Bounds().Height() / 2.0f);