X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.cpp;h=859fe92e20de146a1a87477d55f9c6979175acd4;hb=d65020b293ab208b1391f96a731e53e0c7274a02;hp=39919a25d98c448dc2059466267409e3d5c124da;hpb=36f5607ec88a266db6359ed9616bbee856c88e7a;p=features.git diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index 39919a25d9..859fe92e20 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -72,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(); @@ -80,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);