X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FDepTable.cpp;h=835130717fc253a33a74d343a95ddd70718210ee;hb=0430132aa049f2a97280bcbcff69f71d42ed7d98;hp=fdbbd46a0665dc504ff67508cb41208b8a39f5b6;hpb=62ca7f3ae55ad2e0c395cb554d71afab87de1ee3;p=lyx.git diff --git a/src/DepTable.cpp b/src/DepTable.cpp index fdbbd46a06..835130717f 100644 --- a/src/DepTable.cpp +++ b/src/DepTable.cpp @@ -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; }