mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34639 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0c26995be6
commit
d205cd4b68
@ -3072,11 +3072,13 @@ bool Paragraph::isSeparator(pos_type pos) const
|
||||
|
||||
void Paragraph::deregisterWords()
|
||||
{
|
||||
map<Language, Private::Words>::const_iterator itl;
|
||||
Private::Words::const_iterator it;
|
||||
for (itl = d->words_.begin(); itl != d->words_.end(); ++itl) {
|
||||
map<Language, Private::Words>::const_iterator itl = d->words_.begin();
|
||||
map<Language, Private::Words>::const_iterator ite = d->words_.end();
|
||||
for (; itl != ite; ++itl) {
|
||||
WordList * wl = theWordList(itl->first);
|
||||
for (it = (itl->second).begin(); it != (itl->second).end(); ++it)
|
||||
Private::Words::const_iterator it = (itl->second).begin();
|
||||
Private::Words::const_iterator et = (itl->second).end();
|
||||
for (; it != et; ++it)
|
||||
wl->remove(*it);
|
||||
}
|
||||
d->words_.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user