]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
fix build, thesaurus
[lyx.git] / src / paragraph.h
index 1e2563125cdf49ceb9617ea7df7c8c87156be041..2aad07ade892d36e46669128a425fcbf48e8879b 100644 (file)
@@ -311,11 +311,8 @@ public:
        */ 
        void pasteParagraph(BufferParams const &);
 
-       /// used to remove the error messages
-       int autoDeleteInsets();
-
        /// returns -1 if inset not found
-       int getPositionOfInset(Inset * inset) const;
+       int getPositionOfInset(Inset const * inset) const;
 
        /// some good comment here John?
        Paragraph * getParFromID(int id) const;
@@ -370,6 +367,9 @@ public:
                }
                ///
                Inset * operator*() { return it->inset; }
+               ///
+               Inset * operator->() { return it->inset; }
+               
                ///
                lyx::pos_type getPos() const { return it->pos; }
                ///