X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffrontends%2FLiason.C;h=ee8d456c831cfadfaea7c5f4daf122e2f088e201;hb=3e39bef2c13125023f3b72532d90575bbe307335;hp=b1ae6425e343fe8a4000ddf5a3d2ff0adbf6d646;hpb=cedd9c91a280142ab8c29e40b8ba4e3cd6087076;p=lyx.git diff --git a/src/frontends/Liason.C b/src/frontends/Liason.C index b1ae6425e3..ee8d456c83 100644 --- a/src/frontends/Liason.C +++ b/src/frontends/Liason.C @@ -1,8 +1,8 @@ /* This file is part of - * ====================================================== - * + * ====================================================== + * * LyX, The Document Processor - * + * * Copyright 1995 Matthias Ettrich * Copyright 1995-2001 The LyX Team. * @@ -45,10 +45,10 @@ PrinterParams getPrinterParams(Buffer * buffer) } -bool printBuffer(Buffer * buffer, PrinterParams const & pp) +bool printBuffer(Buffer * buffer, PrinterParams const & pp) { string command(lyxrc.print_command + ' '); - + if (pp.target == PrinterParams::PRINTER && lyxrc.print_adapt_output // dvips wants a printer name && !pp.printer_name.empty()) {// printer name given @@ -65,7 +65,7 @@ bool printBuffer(Buffer * buffer, PrinterParams const & pp) case PrinterParams::ODD: command += lyxrc.print_oddpage_flag + ' '; break; - + default: // only option left is print all of them break;