]> git.lyx.org Git - features.git/commitdiff
PDFOptions.cpp: revert fix for #7048 for now, see discussion in the bug report
authorUwe Stöhr <uwestoehr@web.de>
Wed, 5 Jan 2011 00:59:39 +0000 (00:59 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 5 Jan 2011 00:59:39 +0000 (00:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37111 a592a061-630c-0410-9148-cb99ea01b6c8

src/PDFOptions.cpp

index d9f637e95135105f5d2aeb7e02c0d806cf36204f..09bd79652a906447091e27dade3561c8d10ab4a4 100644 (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()) {