mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 13:11:41 +00:00
Fix iterator
svn path=/trunk/KDE/kdegraphics/okular/; revision=911252
This commit is contained in:
parent
e76e7d1cd9
commit
a35763b8fd
|
@ -72,10 +72,10 @@ fontEncoding::fontEncoding(const QString &encName)
|
|||
#endif
|
||||
|
||||
fileContent = fileContent.section('[', 1, 1).section(']',0,0).simplified();
|
||||
QStringList glyphNameList = fileContent.split('/', QString::SkipEmptyParts);
|
||||
const QStringList glyphNameList = fileContent.split('/', QString::SkipEmptyParts);
|
||||
|
||||
int i = 0;
|
||||
for ( QStringList::Iterator it = glyphNameList.begin(); (it != glyphNameList.end())&&(i<256); ++it ) {
|
||||
for ( QStringList::ConstIterator it = glyphNameList.constBegin(); (it != glyphNameList.constEnd())&&(i<256); ++it ) {
|
||||
glyphNameVector[i] = (*it).simplified();
|
||||
#ifdef DEBUG_FONTENC
|
||||
kDebug(kvs::dvi) << i << ": " << glyphNameVector[i];
|
||||
|
|
Loading…
Reference in a new issue