]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.h
Remove direct calls of exit()
[lyx.git] / src / output_xhtml.h
index e3f8b4ebaab85217fad55f64a2c111f991613f61..76f7bd98de7dc3e9653b0f52be7b6d634f350a57 100644 (file)
@@ -31,8 +31,8 @@ class Text;
 
 namespace html {
 
-class FontTag;
-class EndFontTag;
+struct FontTag;
+struct EndFontTag;
 
 /// Attributes will be escaped automatically and so should NOT
 /// be escaped before being passed to the constructor.
@@ -45,7 +45,7 @@ struct StartTag
                bool keepempty = false) 
                : tag_(tag), attr_(attr), keepempty_(keepempty) {}
        ///
-       ~StartTag() {}
+       virtual ~StartTag() {}
        /// <tag_ attr_>
        virtual docstring writeTag() const;
        /// </tag_>