]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetListings.cpp
s/updateLabels/updateBuffer/g, per a suggestion of Abdel's.
[features.git] / src / insets / InsetListings.cpp
index de690f7c1985d46b90be9b15e2331e1283d614d2..859fe92e20de146a1a87477d55f9c6979175acd4 100644 (file)
@@ -24,6 +24,7 @@
 #include "FuncStatus.h"
 #include "InsetCaption.h"
 #include "Language.h"
+#include "Lexer.h"
 #include "MetricsInfo.h"
 #include "output_latex.h"
 #include "output_xhtml.h"
@@ -71,7 +72,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 +80,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);