]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
dynamic context menu for InsetCitation.
[lyx.git] / src / PDFOptions.cpp
index 31439575b28067b1a6e402dc8150ef75f6d44c01..644f26e738bcfe49523dfd5991c8ece4d0b6c559 100644 (file)
@@ -138,7 +138,7 @@ void PDFOptions::writeLaTeX(odocstream & os, bool hyperref_already_provided) con
                hyperset += "\n pdfkeywords={" + keywords + "},";
        if (!quoted_options.empty()){
                hyperset += "\n ";
-               hyperset += quoted_options_get();
+               hyperset += quoted_options;
        }
        hyperset = rtrim(hyperset,",");
 
@@ -209,10 +209,10 @@ string PDFOptions::readToken(Lexer &lex, string const & token)
 }
 
 
-// prepared for check
-string PDFOptions::quoted_options_get() const
+// check the string from UI
+string PDFOptions::quoted_options_check(string const str) const
 {
-       return quoted_options;
+       return subst(str, "\n", "");
 }