fix:epwing code format

This commit is contained in:
Xiao YiFang 2022-05-23 20:42:37 +08:00
parent 2ffd4940d0
commit 7b434cffaf
2 changed files with 3 additions and 3 deletions

View file

@ -899,7 +899,7 @@ bool EpwingBook::getNextHeadword( EpwingHeadword & head )
} }
else else
{ {
allHeadwordPositions[ head.headword ]<<EWPos( pos.page, pos.offset ); allHeadwordPositions[ head.headword ] << EWPos( pos.page, pos.offset );
return true; return true;
} }
} }
@ -973,7 +973,7 @@ bool EpwingBook::getNextHeadword( EpwingHeadword & head )
} }
else else
{ {
allHeadwordPositions[ head.headword ]<<EWPos( pos.page, pos.offset ); allHeadwordPositions[ head.headword ] << EWPos( pos.page, pos.offset );
return true; return true;
} }
} }

View file

@ -78,7 +78,7 @@ class EpwingBook
QStringList imageCacheList, soundsCacheList, moviesCacheList, fontsCacheList; QStringList imageCacheList, soundsCacheList, moviesCacheList, fontsCacheList;
QMap< QString, QString > baseFontsMap, customFontsMap; QMap< QString, QString > baseFontsMap, customFontsMap;
QVector< int > refPages, refOffsets; QVector< int > refPages, refOffsets;
QMap< QString, QList<EWPos> > allHeadwordPositions; QMap< QString, QList< EWPos > > allHeadwordPositions;
QVector< EWPos > LinksQueue; QVector< EWPos > LinksQueue;
int refOpenCount, refCloseCount; int refOpenCount, refCloseCount;
static Mutex libMutex; static Mutex libMutex;