]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphParameters.cpp
Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
[lyx.git] / src / ParagraphParameters.cpp
index 00b990c7c9414a3ebce731c03e044dad233afd21..6df71ee1c532754998ec6b4b95e44c3d7b4c94e8 100644 (file)
@@ -172,7 +172,7 @@ void ParagraphParameters::leftIndent(Length const & li)
 void ParagraphParameters::read(string str, bool merge)
 {
        istringstream is(str);
-       Lexer lex(0, 0);
+       Lexer lex;
        lex.setStream(is);
        read(lex, merge);
 }
@@ -256,15 +256,6 @@ void ParagraphParameters::apply(
 }
 
 
-//FIXME This needs to be made a real method, so that getStatus()
-//can return sensible information.
-bool ParagraphParameters::canApply(
-       ParagraphParameters const & /*params*/, Layout const & /*layout*/)
-{
-       return true;
-}
-
-
 void ParagraphParameters::write(ostream & os) const
 {
        // Maybe the paragraph has special spacing