Dialogs: discourage non const access to lyxview().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26622 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-09-29 11:01:53 +00:00
parent a2ffb1915a
commit 6f798773a5

View File

@ -248,11 +248,8 @@ public:
* We should aim to reduce/remove these from the interface. * We should aim to reduce/remove these from the interface.
*/ */
//@{ //@{
GuiView & lyxview() { return *lyxview_; }
GuiView const & lyxview() const { return *lyxview_; } GuiView const & lyxview() const { return *lyxview_; }
Buffer const & buffer() const; Buffer const & buffer() const;
BufferView const * bufferview() const; BufferView const * bufferview() const;
//@} //@}