From: Jürgen Spitzmüller Date: Thu, 9 Jul 2009 11:16:27 +0000 (+0000) Subject: *sigh* X-Git-Tag: 2.0.0~6129 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=341ac91738eb25be97f6ccd1c53eb9c276e9d17e;hp=97637e59fecb2d7a5d4e67fcb061de775bb3374a;p=lyx.git *sigh* git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiBranches.cpp b/src/frontends/qt4/GuiBranches.cpp index a38b034b5d..806f344f13 100644 --- a/src/frontends/qt4/GuiBranches.cpp +++ b/src/frontends/qt4/GuiBranches.cpp @@ -224,7 +224,7 @@ void GuiBranches::addUnknown() undef_->branchesLW->selectedItems(); QList::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())); diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 7aeac973d1..979c71cd26 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -2804,7 +2804,7 @@ void GuiDocument::updateUnknownBranches() buffer().getUsedBranches(used_branches); list::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)); }