]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetListings.cpp
index de690f7c1985d46b90be9b15e2331e1283d614d2..de0e26ae45c4b04bc3b24dd8fa839eead056c1ee 100644 (file)
@@ -24,7 +24,7 @@
 #include "FuncStatus.h"
 #include "InsetCaption.h"
 #include "Language.h"
-#include "MetricsInfo.h"
+#include "Lexer.h"
 #include "output_latex.h"
 #include "output_xhtml.h"
 #include "TextClass.h"
@@ -71,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();
@@ -79,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);