mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
550d0f0be8
commit
ad45381bd6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user