]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Remove the unused default parameter of Buffer::doExport().
[lyx.git] / src / Buffer.h
index 6a224261bc42bc60fd51c057ac0f9c2e164c5787..b6ae1f338d0ea007f47ba5340410353d773dbd36 100644 (file)
@@ -276,6 +276,7 @@ public:
 
        /// Just a wrapper for writeLaTeXSource, first creating the ofstream.
        bool makeLaTeXFile(support::FileName const & filename,
+                          std::string const & original_path,
                           OutputParams const &,
                           bool output_preamble = true,
                           bool output_body = true) const;
@@ -302,6 +303,7 @@ public:
            \endcode
         */
        void writeLaTeXSource(otexstream & os,
+                          std::string const & original_path,
                           OutputParams const &,
                           bool output_preamble = true,
                           bool output_body = true) const;
@@ -602,12 +604,13 @@ public:
 
        
 
-       ///
-       bool doExport(std::string const & format, bool put_in_tempdir,
+       /// target is a format name optionally followed by a space
+       /// and a destination file-name
+       bool doExport(std::string const & target, bool put_in_tempdir,
                bool includeall, std::string & result_file) const;
        ///
-       bool doExport(std::string const & format, bool put_in_tempdir,
-                     bool includeall = false) const;
+       bool doExport(std::string const & target, bool put_in_tempdir,
+                     bool includeall) const;
        ///
        bool preview(std::string const & format, bool includeall = false) const;
        /// mark the buffer as busy exporting something, or not