X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FMover.h;h=a684a875579ccc9e7ed8741c6e3dcb7d34a85dec;hb=21eb2c4f74c5665e6516cf900acf4f5acba21c69;hp=4bf525e8d94f72d9a4bdf8050f118ebffcc4c98e;hpb=62c9d0f64009be17ed8508c27181b143d2d0a99b;p=lyx.git diff --git a/src/Mover.h b/src/Mover.h index 4bf525e8d9..a684a87557 100644 --- a/src/Mover.h +++ b/src/Mover.h @@ -50,10 +50,10 @@ public: * directory to the export location, since @c to and @c latex may * not be equal in this case. * \returns true if successful. - * NOTE: Although this routine simply calls do_copy() and + * NOTE: Although this routine simply calls do_copy() and * Mover::do_copy() does not itself make any use of the @c latex argument, * SpecialisedMover overrides do_copy(), so SpecialisedMover::copy(), which - * is just Mover::copy(), calls SpecialisedMover::do_copy(), and the @c latex + * is just Mover::copy(), calls SpecialisedMover::do_copy(), and the @c latex * argument IS in that case used. */ bool @@ -104,9 +104,9 @@ protected: * For example, an Xfig .fig file can contain references to external * picture files. If such a reference has a relative path, then the * copied .fig file will require a transformation of the picture file - * reference if it is to be found by Xfig. + * reference if it is to be found by Xfig. * - * So, in this case, we need three arguments: + * So, in this case, we need three arguments: * (i) @c from the location of the file to be moved * (ii) @c to the location to which it should be moved * (iii) @c latex the identifier that should be used in the sort of @@ -125,9 +125,9 @@ public: * $$i is a placeholder for the name of the file to be moved, * $$o is a placeholder for the name of the file after moving, * $$l is a placeholder for the latex argument, as explained above. - * $$o and $$l can only differ if the file is copied from the temporary - * directory to the export location. If it is copied from the original - * location to the temporary directory, they are the same, so $$l may be + * $$o and $$l can only differ if the file is copied from the temporary + * directory to the export location. If it is copied from the original + * location to the temporary directory, they are the same, so $$l may be * ignored in this case, as it is in the Mover baseclass. */ SpecialisedMover(std::string const & command) @@ -137,13 +137,11 @@ public: std::string const & command() const { return command_; } private: - virtual bool - do_copy(support::FileName const & from, support::FileName const & to, - std::string const & latex) const; + bool do_copy(support::FileName const & from, support::FileName const & to, + std::string const & latex) const override; - virtual bool - do_rename(support::FileName const & from, support::FileName const & to, - std::string const & latex) const; + bool do_rename(support::FileName const & from, support::FileName const & to, + std::string const & latex) const override; std::string command_; };