]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.h
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / insetcaption.h
index f864cb8d9ee7fd9721080b335fd54e28ffa296a8..eecdf464ff7ae75a993b6319b37e7a39c31c1f37 100644 (file)
@@ -22,26 +22,24 @@ public:
        ///
        InsetCaption(BufferParams const &);
        ///
-       void write(Buffer const * buf, std::ostream & os) const;
+       void write(Buffer const & buf, std::ostream & os) const;
        ///
-       void read(Buffer const * buf, LyXLex & lex);
+       void read(Buffer const & buf, LyXLex & lex);
        ///
        virtual bool display() const;
        ///
-       virtual bool needFullRow() const;
-       ///
        virtual InsetOld::Code lyxCode() const;
        ///
        virtual string const editMessage() const;
        ///
        virtual void draw(PainterInfo & pi, int x, int y) const;
        ///
-       virtual int latex(Buffer const * buf, std::ostream & os,
+       virtual int latex(Buffer const & buf, std::ostream & os,
                          LatexRunParams const &) const;
        ///
-       int ascii(Buffer const * buf, std::ostream & os, int linelen) const;
+       int ascii(Buffer const & buf, std::ostream & os, int linelen) const;
        ///
-       int docbook(Buffer const * buf, std::ostream & os, bool mixcont) const;
+       int docbook(Buffer const & buf, std::ostream & os, bool mixcont) const;
 };
 
 
@@ -52,13 +50,6 @@ bool InsetCaption::display() const
 }
 
 
-inline
-bool InsetCaption::needFullRow() const
-{
-       return true;
-}
-
-
 inline
 InsetOld::Code InsetCaption::lyxCode() const
 {