X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FDepTable.C;h=e3a5acc2621217fcbad6bb0f92b206b590333a15;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=842e03ed0c10bc078bef3090da4e34ff6921f1af;hpb=0eccdd1c3613e5170deb77b22174dd0afde833e9;p=lyx.git diff --git a/src/DepTable.C b/src/DepTable.C index 842e03ed0c..e3a5acc262 100644 --- a/src/DepTable.C +++ b/src/DepTable.C @@ -46,9 +46,9 @@ DepTable::DepTable(string const & f, char tmp2[256]; sprintf(tmp1, "%lu", new_sum); sprintf(tmp2, "%lu", old_sum); - lyxerr.debug("New file inserted in deplog: " + - file + " " + - tmp1 + " " + tmp2); + lyxerr.debug() << "New file inserted in deplog: " + << file << " " + << tmp1 << " " << tmp2 << endl; } next = 0; } @@ -79,8 +79,8 @@ void DepTable::update() char tmp2[256]; sprintf(tmp1, "%lu", new_sum); sprintf(tmp2, "%lu", old_sum); - lyxerr.debug("update: " + file + " " + - tmp1 + " " + tmp2); + lyxerr.debug() << "update: " << file << " " + << tmp1 << " " << tmp2 << endl; } } if (next) next->update(); @@ -141,9 +141,9 @@ void DepTable::read(string const &f) char tmp2[255]; sprintf(tmp1, "%lu", one); sprintf(tmp2, "%lu", two); - lyxerr.debug(string("read dep: ") + - nome + " " + tmp1 + - " " + tmp2); + lyxerr.debug() << "read dep: " + << nome << " " << tmp1 + << " " << tmp2 << endl; } insert(string(nome), false, one, two); } @@ -158,8 +158,8 @@ void DepTable::write(FILE * f) char tmp2[255]; sprintf(tmp1, "%lu", new_sum); sprintf(tmp2, "%lu", old_sum); - lyxerr.print("Write dep: " + file + " " + - tmp1 + " " + tmp2); + lyxerr << "Write dep: " << file << " " + << tmp1 << " " << tmp2 << endl; } fprintf(f, "%s %lu %lu\n", file.c_str(), new_sum, old_sum);