mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
e017570aa8
commit
9a7ad1efed
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user