]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.h
Inset::addToToc(): change signature. Use DocIterator instead of ParConstIterator...
[lyx.git] / src / insets / InsetLabel.h
index 3ab79b6f2825c7194d573d6573738325c7d0079d..33ba32ebc27e6b0b4c61834b66e48082dbac6428 100644 (file)
@@ -28,6 +28,9 @@ public:
          **/
        void initView();
 
+       ///
+       bool isLabeled() const { return true; }
+
        ///
        docstring screenLabel() const;
        ///
@@ -50,7 +53,7 @@ public:
        ///
        void updateLabels(ParIterator const & it);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
        ///
        void updateCommand(docstring const & new_label, bool updaterefs = true);
 protected: