X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphParameters.cpp;h=1152c6ab968855b4764c5d1ddff5b043d43cdabe;hb=c41f9f7ed7a890523acd387868472080d0c68df2;hp=00b990c7c9414a3ebce731c03e044dad233afd21;hpb=a01cb111a07717a337c18860216359cdbe22af3c;p=lyx.git diff --git a/src/ParagraphParameters.cpp b/src/ParagraphParameters.cpp index 00b990c7c9..1152c6ab96 100644 --- a/src/ParagraphParameters.cpp +++ b/src/ParagraphParameters.cpp @@ -3,11 +3,11 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Angus Leeming * \author John Levon - * \author André Pönitz - * \author Jürgen Vigna + * \author André Pönitz + * \author Jürgen Vigna * * Full author contact details are available in file CREDITS. */ @@ -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