3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
8 * Full author contact details are available in file CREDITS.
13 #include "support/lyxlib.h"
14 #include "support/FileName.h"
22 bool rename(FileName const & from, FileName const & to)
24 if (::rename(from.toFilesystemEncoding().c_str(),
25 to.toFilesystemEncoding().c_str()) != -1)
34 } // namespace support