]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
ws changes mostly
[lyx.git] / src / BufferView.h
index 130a2632182c302b13744d0a11831f08851672b5..88d307daf82eb60b8eaf02d8419cc545eddd04f6 100644 (file)
@@ -102,7 +102,10 @@ public:
        Change const getCurrentChange();
 
        /// return the lyxtext we are using
-       LyXText * getLyXText() const;
+       LyXText * getLyXText();
+
+       /// return the lyxtext we are using
+       LyXText const * getLyXText() const;
 
        /// simple replacing. Use the font of the first selected character
        void replaceSelectionWithString(std::string const & str);
@@ -174,9 +177,9 @@ public:
 
 private:
        ///
-       struct Pimpl;
+       class Pimpl;
        ///
-       friend struct BufferView::Pimpl;
+       friend class BufferView::Pimpl;
        ///
        Pimpl * pimpl_;
 };