]> git.lyx.org Git - features.git/commitdiff
Dialogs: discourage non const access to lyxview().
authorAbdelrazak Younes <younes@lyx.org>
Mon, 29 Sep 2008 11:01:53 +0000 (11:01 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 29 Sep 2008 11:01:53 +0000 (11:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26622 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Dialog.h

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