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
This commit is contained in:
Abdelrazak Younes 2006-08-17 08:54:22 +00:00
parent 550d0f0be8
commit ad45381bd6

View 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) { for (size_t i = 0; i < ls; ++i) {
QChar const c = s[i]; QChar const c = s[i];
QChar const uc = c.upper(); QChar const uc = c.toUpper();
if (c != uc) if (c != uc)
w += qsmallm.width(uc); w += qsmallm.width(uc);
else else