]> git.lyx.org Git - lyx.git/blobdiff - src/Mover.cpp
lilypond.lyx : Document music fragment options.
[lyx.git] / src / Mover.cpp
index 4837350830e3778e572221e6f9d82d2d300337fa..13ee2c81de5c9e343023eef52250364e76eba1a7 100644 (file)
@@ -12,9 +12,9 @@
 
 #include "Mover.h"
 
+#include "support/FileName.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
-#include "support/lyxlib.h"
 #include "support/Systemcall.h"
 
 #include <fstream>
@@ -28,28 +28,28 @@ namespace lyx {
 
 bool Mover::copy(FileName const & from, FileName const & to) const
 {
-       return do_copy(from, to, to.absFilename());
+       return do_copy(from, to, to.absFileName());
 }
 
 
 bool Mover::do_copy(FileName const & from, FileName const & to,
                    string const &) const
 {
-       return from.copyTo(to, true);
+       return from.copyTo(to);
 }
 
 
 bool Mover::rename(FileName const & from,
                   FileName const & to) const
 {
-       return do_rename(from, to, to.absFilename());
+       return do_rename(from, to, to.absFileName());
 }
 
 
 bool Mover::do_rename(FileName const & from, FileName const & to,
                      string const &) const
 {
-       return from.renameTo(to);
+       return from.moveTo(to);
 }