]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
adjust
[lyx.git] / src / PDFOptions.cpp
index fdc2ff7cdbe58b888b2bac17991358bfdc258ad4..22b8ff310c36440de905b59daee434bc526a0dcc 100644 (file)
@@ -86,9 +86,9 @@ void PDFOptions::writeFile(ostream & os) const
                os << "\\pdf_quoted_options \"" << quoted_options << "\"\n";
 }
 
-void PDFOptions::writeLaTeX(odocstringstream &os) const
+void PDFOptions::writeLaTeX(odocstringstream &os, bool hyper_required) const
 {
-       if (!use_hyperref)
+       if (!use_hyperref && !hyper_required)
                return;
        
        string opt;