PDFOptions.cpp: fix two bugs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20424 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-09-21 23:55:24 +00:00
parent 4734433a3c
commit 020af57832

View File

@ -99,13 +99,13 @@ void PDFOptions::writeLaTeX(odocstringstream &os) const
opt += "bookmarksopen=" + convert<string>(bookmarksopen) + ','; opt += "bookmarksopen=" + convert<string>(bookmarksopen) + ',';
if (bookmarksopen && !bookmarksopenlevel.empty()) if (bookmarksopen && !bookmarksopenlevel.empty())
opt += "bookmarksopennumbered=" + bookmarksopenlevel + ','; opt += "bookmarksopenlevel=" + bookmarksopenlevel + ',';
} }
opt += "breaklinks=" + convert<string>(breaklinks) + ','; opt += "breaklinks=" + convert<string>(breaklinks) + ',';
opt += "pdfborder={0 0 " ; opt += "pdfborder={0 0 " ;
opt += (pdfborder ?'1':'0'); opt += (pdfborder ?'0':'1');
opt += "},\n"; opt += "},\n";
opt += "colorlinks=" + convert<string>(colorlinks) + ','; opt += "colorlinks=" + convert<string>(colorlinks) + ',';