]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.h
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetSpecialChar.h
index 95af71eb1d34214dba12ef3eb9bd3ae936d1c830..7fff625da0b2a9c8be97ac94dc84923c9a210179 100644 (file)
@@ -45,7 +45,7 @@ public:
        };
 
        ///
-       InsetSpecialChar() {}
+       InsetSpecialChar() : Inset(0) {}
        ///
        explicit InsetSpecialChar(Kind k);
        ///
@@ -65,7 +65,7 @@ public:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       int xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        /// the string that is passed to the TOC
        void tocString(odocstream &) const;
        ///
@@ -76,7 +76,7 @@ public:
        void validate(LaTeXFeatures &) const;
 
        // should this inset be handled like a normal charater
-       bool isChar() const;
+       bool isChar() const { return true; }
        /// is this equivalent to a letter?
        bool isLetter() const;
        // should we break lines after this inset?