git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-07-09 11:16:27 +00:00
parent 97637e59fe
commit 341ac91738
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ void GuiBranches::addUnknown()
undef_->branchesLW->selectedItems();
QList<QListWidgetItem *>::const_iterator it = selItems.begin();
for (it ; it != selItems.end() ; ++it) {
for (; it != selItems.end() ; ++it) {
QListWidgetItem const * new_branch = *it;
if (new_branch) {
branchlist_.add(qstring_to_ucs4(new_branch->text()));

View File

@ -2804,7 +2804,7 @@ void GuiDocument::updateUnknownBranches()
buffer().getUsedBranches(used_branches);
list<docstring>::const_iterator it = used_branches.begin();
QStringList unknown_branches;
for (it ; it != used_branches.end() ; ++it) {
for (; it != used_branches.end() ; ++it) {
if (!buffer().params().branchlist().find(*it))
unknown_branches.append(toqstr(*it));
}