]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Revert http://www.lyx.org/trac/changeset/25553 and try better fix for bug
[lyx.git] / src / insets / InsetRef.h
index da4a176dbc051df568d83b74b62641efe440844c..78ddbbdbeb44a6615c3e9d23efe0b0e26886c935 100644 (file)
@@ -38,11 +38,8 @@ public:
 
        InsetRef(Buffer const & buffer, InsetCommandParams const &);
 
-       /// verify label and reference.
-       /**
-         * Overloaded from Inset::initView.
-         **/
-       void initView();
+       ///
+       bool isLabeled() const { return true; }
        ///
        docstring screenLabel() const;
        ///
@@ -70,7 +67,7 @@ public:
        ///
        void updateLabels(ParIterator const & it);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
 protected:
        ///
        InsetRef(InsetRef const &);