PDFOptions.cpp: revert fix for #7048 for now, see discussion in the bug report

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-01-05 00:59:39 +00:00
parent bd3d6369c2
commit 079d159c87

View File

@ -183,10 +183,10 @@ int PDFOptions::writeLaTeX(OutputParams & runparams, odocstream & os,
<< setEncoding("UTF-8");
++lines;
}
// if hyperref is loaded by the document class and hyperset is empty,
// nothing must be output, see bug #7048
if (!(hyperref_already_provided && hyperset.empty()))
os << from_utf8(opt);
// FIXME: handle the case that hyperref is loaded by the document class and
// hyperset is empty, see bug #7048
//if (!(hyperref_already_provided && hyperset.empty()))
// os << from_utf8(opt);
if (need_unicode && enc && enc->iconvName() != "UTF-8"
&&!runparams.isFullUnicode()) {