]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.cpp
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / src / DepTable.cpp
index fdbbd46a0665dc504ff67508cb41208b8a39f5b6..835130717fc253a33a74d343a95ddd70718210ee 100644 (file)
@@ -108,7 +108,8 @@ bool DepTable::sumchange() const
        DepList::const_iterator cit = deplist.begin();
        DepList::const_iterator end = deplist.end();
        for (; cit != end; ++cit) {
-               if (cit->second.changed()) return true;
+               if (cit->second.changed())
+                       return true;
        }
        return false;
 }
@@ -144,9 +145,8 @@ bool DepTable::ext_exist(string const & ext) const
        DepList::const_iterator cit = deplist.begin();
        DepList::const_iterator end = deplist.end();
        for (; cit != end; ++cit) {
-               if (suffixIs(cit->first.absFileName(), ext)) {
+               if (suffixIs(cit->first.absFileName(), ext))
                        return true;
-               }
        }
        return false;
 }