]> git.lyx.org Git - features.git/commitdiff
Revert r29619, this needs more thinking.
authorPavel Sanda <sanda@lyx.org>
Sun, 17 May 2009 13:13:39 +0000 (13:13 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 17 May 2009 13:13:39 +0000 (13:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29712 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferParams.cpp

index 929489139c49c3ee16222b8f383dd1ac84102353..31a24469e95d58aee0d308776df30a4fd4894995 100644 (file)
@@ -830,9 +830,8 @@ void BufferParams::writeFile(ostream & os) const
           << "\n\\use_bibtopic " << convert<string>(use_bibtopic)
           << "\n\\use_indices " << convert<string>(use_indices)
           << "\n\\paperorientation " << string_orientation[orientation]
+          << "\n\\backgroundcolor " << lyx::X11hexname(backgroundcolor)
           << '\n';
-          if (backgroundcolor != lyx::rgbFromHexName("#ffffff"))
-               os << "\\backgroundcolor " << lyx::X11hexname(backgroundcolor) << '\n';
 
        BranchList::const_iterator it = branchlist().begin();
        BranchList::const_iterator end = branchlist().end();