Revert part of 21965 which was debugging code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21966 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-05 10:45:19 +00:00
parent e017570aa8
commit 9a7ad1efed

View File

@ -513,6 +513,8 @@ bool Converters::convert(Buffer const * buffer,
bool Converters::move(string const & fmt,
FileName const & from, FileName const & to, bool copy)
{
if (from == to)
return true;
bool no_errors = true;
string const path = onlyPath(from.absFilename());
@ -521,8 +523,6 @@ bool Converters::move(string const & fmt,
string const to_extension = getExtension(to.absFilename());
FileNameList const files = FileName(path).dirList(getExtension(from.absFilename()));
if (from == to)
return true;
for (FileNameList::const_iterator it = files.begin();
it != files.end(); ++it) {
string const from2 = it->absFilename();