#include "FuncStatus.h"
#include "InsetCaption.h"
#include "Language.h"
+#include "Lexer.h"
#include "MetricsInfo.h"
#include "output_latex.h"
#include "output_xhtml.h"
}
-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();
// 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);