remove unused variable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15268 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-10-07 17:07:46 +00:00
parent 6ada61e182
commit 2b477c1f68

View File

@ -177,7 +177,6 @@ void GuiFontMetrics::rectText(docstring const & str,
void GuiFontMetrics::buttonText(docstring const & str,
int & w, int & ascent, int & descent) const
{
QFontMetrics const & m = metrics_;
static int const d = 3;
w = FontMetrics::width(str) + d * 2 + 2;
ascent = metrics_.ascent() + d;