]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.cpp
Fix empty width support for Box inset
[lyx.git] / src / insets / InsetVSpace.cpp
index 1e46425aa65a501506b4a054347b8add6eb8a5ca..55ef4bf94fe38725344aa7ea683cc2eda4bdda3b 100644 (file)
@@ -92,7 +92,7 @@ bool InsetVSpace::getStatus(Cursor & cur, FuncRequest const & cmd,
 
 void InsetVSpace::read(Lexer & lex)
 {
-       LASSERT(lex.isOK(), /**/);
+       LASSERT(lex.isOK(), return);
        string vsp;
        lex >> vsp;
        if (lex)
@@ -207,7 +207,8 @@ void InsetVSpace::latex(otexstream & os, OutputParams const &) const
 }
 
 
-int InsetVSpace::plaintext(odocstream & os, OutputParams const &) const
+int InsetVSpace::plaintext(odocstringstream & os,
+        OutputParams const &, size_t) const
 {
        os << "\n\n";
        return PLAINTEXT_NEWLINE;