From ad45381bd6eac0e12580658703084ffb03852ad8 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 17 Aug 2006 08:54:22 +0000 Subject: [PATCH] get rid of QT3_SUPPORT and some cleanup git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14746 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/qfont_metrics.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/qfont_metrics.C b/src/frontends/qt4/qfont_metrics.C index d58122e653..255f5a2557 100644 --- a/src/frontends/qt4/qfont_metrics.C +++ b/src/frontends/qt4/qfont_metrics.C @@ -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 -- 2.39.2