]> git.lyx.org Git - lyx.git/commitdiff
remove unused variable
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 7 Oct 2006 17:07:46 +0000 (17:07 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 7 Oct 2006 17:07:46 +0000 (17:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15268 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiFontMetrics.C

index 6fcc79930a665a007854097e3b846c5f4c698881..8885b5cb0980561f6d41fd6167b4d84728f66f18 100644 (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;