]> git.lyx.org Git - lyx.git/blobdiff - src/Mover.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / Mover.cpp
index 055c293f1615ba144ded1cad5d5f385622e5c5c2..81d13d2a5df4277aa5d674492fb5d10f146a0f48 100644 (file)
@@ -27,6 +27,13 @@ namespace lyx {
 
 
 bool Mover::copy(FileName const & from, FileName const & to) const
+{
+       return do_copy(from, to, to.absFilename());
+}
+
+
+bool Mover::do_copy(FileName const & from, FileName const & to,
+                   string const &) const
 {
        return from.copyTo(to);
 }
@@ -50,7 +57,7 @@ bool SpecialisedMover::do_copy(FileName const & from, FileName const & to,
                               string const & latex) const
 {
        if (command_.empty())
-               return Mover::copy(from, to);
+               return Mover::do_copy(from, to, latex);
 
        string command = libScriptSearch(command_);
        command = subst(command, "$$i", quoteName(from.toFilesystemEncoding()));