]> git.lyx.org Git - features.git/blobdiff - src/insets/Inset.h
This patch introduces an optional argument to Buffer::updateLabels(), so
[features.git] / src / insets / Inset.h
index 798f311f0b840a71cbb99137aaceed0c4ec7f40e..8d2f1f86df1735a62e0444fe43fb5c81ea11c081 100644 (file)
@@ -466,8 +466,10 @@ public:
        virtual void addToToc(DocIterator const &) {}
        /// Fill keys with BibTeX information
        virtual void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const {}
-       /// Update the counters of this inset and of its contents
-       virtual void updateLabels(ParIterator const &) {}
+       /// Update the counters of this inset and of its contents.
+       /// The boolean indicates whether we are preparing for output, e.g.,
+       /// of XHTML.
+       virtual void updateLabels(ParIterator const &, bool) {}
 
        /// Updates the inset's dialog
        virtual Buffer const * updateFrontend() const;