]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.h
Choose a delimiter for lstinline (braces can not be used for some listings version)
[lyx.git] / src / insets / InsetCaption.h
index dabfa39e995616b63cb2a9de9bd3ea2f1882c0e7..9d1973fba67a65de18707ff25922fb1aba4af724 100644 (file)
@@ -32,7 +32,7 @@ public:
        ///
        void read(Buffer const & buf, Lexer & lex);
        ///
-       virtual bool display() const;
+       virtual DisplayType display() const;
        ///
        virtual bool neverIndent(Buffer const &) const { return true; }
        ///
@@ -109,9 +109,9 @@ private:
 
 
 inline
-bool InsetCaption::display() const
+Inset::DisplayType InsetCaption::display() const
 {
-       return true;
+       return AlignCenter;
 }