]> git.lyx.org Git - lyx.git/commitdiff
*sigh*
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 9 Jul 2009 11:16:27 +0000 (11:16 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 9 Jul 2009 11:16:27 +0000 (11:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiBranches.cpp
src/frontends/qt4/GuiDocument.cpp

index a38b034b5d4ce4ff320cc42a0cc8b51c63a081cc..806f344f138867c19645fc95264c5f16791adc8a 100644 (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()));
index 7aeac973d1a4d02adf22243582df41d85839f47b..979c71cd269cf18b603bb111c1fe4113b3869b97 100644 (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));
        }