mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Add missing const to some insettoc methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@562 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5ba861bb09
commit
d5134a917d
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -18,14 +18,14 @@ void InsetTOC::Edit(int, int)
|
||||
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;
|
||||
|
@ -44,9 +44,9 @@ public:
|
||||
///
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user