]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetListings.cpp
index 39919a25d98c448dc2059466267409e3d5c124da..de0e26ae45c4b04bc3b24dd8fa839eead056c1ee 100644 (file)
@@ -25,7 +25,6 @@
 #include "InsetCaption.h"
 #include "Language.h"
 #include "Lexer.h"
-#include "MetricsInfo.h"
 #include "output_latex.h"
 #include "output_xhtml.h"
 #include "TextClass.h"
@@ -72,7 +71,7 @@ Inset::DisplayType InsetListings::display() const
 }
 
 
-void InsetListings::updateLabels(ParIterator const & it, UpdateType utype)
+void InsetListings::updateBuffer(ParIterator const & it, UpdateType utype)
 {
        Counters & cnts = buffer().masterBuffer()->params().documentClass().counters();
        string const saveflt = cnts.current_float();
@@ -80,7 +79,7 @@ void InsetListings::updateLabels(ParIterator const & it, UpdateType utype)
        // Tell to captions what the current float is
        cnts.current_float("listing");
 
-       InsetCollapsable::updateLabels(it, utype);
+       InsetCollapsable::updateBuffer(it, utype);
 
        //reset afterwards
        cnts.current_float(saveflt);