]> 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 39919a25d98c448dc2059466267409e3d5c124da..859fe92e20de146a1a87477d55f9c6979175acd4 100644 (file)
@@ -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);