]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
Fix dialog handling of Insert Plain Text
[lyx.git] / src / PDFOptions.cpp
index fdc2ff7cdbe58b888b2bac17991358bfdc258ad4..149d85b3dbbdd185f330dfe06df433e5979fabaf 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(odocstream & os, bool hyper_required) const
 {
-       if (!use_hyperref)
+       if (!use_hyperref && !hyper_required)
                return;
        
        string opt;