]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.cpp
Allow row-breaking after some insets
[lyx.git] / src / insets / Inset.cpp
index 2043436ba93409edb22317a45ab8fc2ae469e2de..904ac81686c2708bf4f088a39291e86e0e0dcf71 100644 (file)
@@ -225,7 +225,7 @@ bool Inset::isBufferLoaded() const
 bool Inset::isBufferValid() const
 {
        return buffer_
-               && (isBufferLoaded() || buffer_->isClone());
+               && (isBufferLoaded() || buffer_->isInternal() || buffer_->isClone());
 }
 
 
@@ -472,7 +472,7 @@ int Inset::docbook(odocstream &, OutputParams const &) const
 }
 
 
-docstring Inset::xhtml(XHTMLStream & xs, OutputParams const &) const
+docstring Inset::xhtml(XMLStream & xs, OutputParams const &) const
 {
        xs << "[[Inset: " << from_ascii(insetName(lyxCode())) << "]]";
        return docstring();