X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphParameters.cpp;h=1152c6ab968855b4764c5d1ddff5b043d43cdabe;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=00b990c7c9414a3ebce731c03e044dad233afd21;hpb=2012beb58e62d04b9c2fc2bc0bc3d60fa095e03e;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