]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qfont_metrics.C
get rid of QT3_SUPPORT and some cleanup
[lyx.git] / 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