Pavel Sanda wrote:
can you add this small polish ?
Done.

By the way, if you use svn diff in your local tree to prepare the patch, you'll get one in a form that's easier for people to use---and not have to maintain two local copies, either. Otherwise, we have to strip the "a/".

Oh, and part of the reason you didn't see the problems with config.h is, I'll guess, because you're compiling with precompiled headers. Most people seem to have turned them off, as (a) they seem to do rather little, except with MSVC, and (b) they mask header problems.

rh
pavel
------------------------------------------------------------------------

diff --git a/src/PDFOptions.cpp b/src/PDFOptions.cpp
index d16b9cd..0bf5a0d 100644
--- a/src/PDFOptions.cpp
+++ b/src/PDFOptions.cpp
@@ -76,7 +76,7 @@ void PDFOptions::writeFile(ostream & os) const
} -void PDFOptions::writeLaTeX(odocstream &os) const
+void PDFOptions::writeLaTeX(odocstringstream &os) const
 {
        if (!use_hyperref) return ;
diff --git a/src/PDFOptions.h b/src/PDFOptions.h
index 395bef7..201d180 100644
--- a/src/PDFOptions.h
+++ b/src/PDFOptions.h
@@ -132,7 +132,7 @@ public:
        /// output to lyx header
        void writeFile(std::ostream &) const;
        /// output to tex header
-       void writeLaTeX(odocstream &) const;
+       void writeLaTeX(odocstringstream &) const;
        /// read tokens from lyx header
        string readToken(Lexer &lex, string const & token);
        /// keep implicit hyperref settings


--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to