Author: rgheck
Date: Mon Jun 20 23:08:56 2011
New Revision: 39157
URL: http://www.lyx.org/trac/changeset/39157

Log:
Remove unused optional variable.

Modified:
   lyx-devel/trunk/src/Buffer.cpp
   lyx-devel/trunk/src/Buffer.h

Modified: lyx-devel/trunk/src/Buffer.cpp
==============================================================================
--- lyx-devel/trunk/src/Buffer.cpp      Mon Jun 20 23:08:51 2011        (r39156)
+++ lyx-devel/trunk/src/Buffer.cpp      Mon Jun 20 23:08:56 2011        (r39157)
@@ -1609,8 +1609,7 @@
 
 
 void Buffer::makeLyXHTMLFile(FileName const & fname,
-                             OutputParams const & runparams,
-                             bool const body_only) const
+                             OutputParams const & runparams) const
 {
        LYXERR(Debug::LATEX, "makeLyXHTMLFile...");
 
@@ -1623,7 +1622,7 @@
        updateBuffer(UpdateMaster, OutputUpdate);
        updateMacroInstances(OutputUpdate);
 
-       writeLyXHTMLSource(ofs, runparams, body_only);
+       writeLyXHTMLSource(ofs, runparams);
 
        ofs.close();
        if (ofs.fail())

Modified: lyx-devel/trunk/src/Buffer.h
==============================================================================
--- lyx-devel/trunk/src/Buffer.h        Mon Jun 20 23:08:51 2011        (r39156)
+++ lyx-devel/trunk/src/Buffer.h        Mon Jun 20 23:08:56 2011        (r39157)
@@ -313,8 +313,7 @@
                             bool only_body = false) const;
        ///
        void makeLyXHTMLFile(support::FileName const & filename,
-                            OutputParams const & runparams_in,
-                            bool only_body = false) const;
+                            OutputParams const & runparams_in) const;
        ///
        void writeLyXHTMLSource(odocstream & os,
                             OutputParams const & runparams_in,

Reply via email to