]> git.lyx.org Git - lyx.git/commitdiff
get rid of QT3_SUPPORT and some cleanup
authorAbdelrazak Younes <younes@lyx.org>
Thu, 17 Aug 2006 08:54:22 +0000 (08:54 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 17 Aug 2006 08:54:22 +0000 (08:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14746 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/qfont_metrics.C

index d58122e6537b5669291db5e7204b2071f1b67b17..255f5a25576ccbcc24aebc048bc1c1eec7c02153 100644 (file)
@@ -45,7 +45,7 @@ int smallcapswidth(unsigned short const * s, size_t ls, LyXFont const & f)
 
        for (size_t i = 0; i < ls; ++i) {
                QChar const c = s[i];
-               QChar const uc = c.upper();
+               QChar const uc = c.toUpper();
                if (c != uc)
                        w += qsmallm.width(uc);
                else