+2000-02-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/insettoc.[Ch] (LinuxDoc, DocBook): mark the methods
+ as const.
+
2000-02-18 Lars Gullik Bjønnes <larsbj@lyx.org>
* WorkArea, Painter, LyXScreen: Fixed the crash that occured on
current_view->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
}
-int InsetTOC::Linuxdoc(string & file)
+int InsetTOC::Linuxdoc(string & file) const
{
file += "<toc>";
return 0;
}
-int InsetTOC::DocBook(string & file)
+int InsetTOC::DocBook(string & file) const
{
file += "<toc></toc>";
return 0;
///
Inset::Code LyxCode() const { return Inset::TOC_CODE; }
///
- int Linuxdoc(string & file);
+ int Linuxdoc(string & file) const;
///
- int DocBook(string & file);
+ int DocBook(string & file) const;
private:
///
Buffer * owner;