]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.C
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insettoc.C
index c109646a39ab9d6bd200817a7070212b46a258cb..512c9e96d7e17868f9a4407ea377e0ca0c0533dd 100644 (file)
@@ -44,11 +44,11 @@ string const InsetTOC::getScreenLabel(Buffer const &) const
 }
 
 
-InsetOld::Code InsetTOC::lyxCode() const
+InsetBase::Code InsetTOC::lyxCode() const
 {
        if (getCmdName() == "tableofcontents")
-               return InsetOld::TOC_CODE;
-       return InsetOld::NO_CODE;
+               return InsetBase::TOC_CODE;
+       return InsetBase::NO_CODE;
 }