From 2001b6548ca99eb257278b656e0c092bb756c09f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 2 Apr 2010 23:59:42 +0000 Subject: [PATCH] BufferParams.cpp: whitespace and comment fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34047 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferParams.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index ad2e0bbb66..98d4fd0a7c 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -927,11 +927,11 @@ void BufferParams::writeFile(ostream & os) const << "\n\\paperorientation " << string_orientation[orientation] << "\n\\suppress_date " << convert(suppress_date) << '\n'; - if (backgroundcolor != lyx::rgbFromHexName("#ffffff")) + if (backgroundcolor != lyx::rgbFromHexName("#ffffff")) os << "\\backgroundcolor " << lyx::X11hexname(backgroundcolor) << '\n'; - if (isfontcolor == true) + if (isfontcolor == true) os << "\\fontcolor " << lyx::X11hexname(fontcolor) << '\n'; - if (notefontcolor != lyx::rgbFromHexName("#cccccc")) + if (notefontcolor != lyx::rgbFromHexName("#cccccc")) os << "\\notefontcolor " << lyx::X11hexname(notefontcolor) << '\n'; BranchList::const_iterator it = branchlist().begin(); @@ -1464,7 +1464,7 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features, features.require("pagecolor"); } - // only output when the font color is not black + // only output when the font color is not default if (isfontcolor == true) { // only require color here, the font color will be defined // in LaTeXFeatures.cpp to avoid interferences with the LaTeX -- 2.39.2