]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.h
Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
[lyx.git] / src / output_latex.h
index ca6618c7a727bc707999895de5598eb628b28167..ef18a081f370ff21ca32bfd7b43b99ea85785314 100644 (file)
@@ -45,7 +45,8 @@ void latexParagraphs(Buffer const & buf,
 /// Switch the encoding of \p os from \p oldEnc to \p newEnc if needed.
 /// \return the number of characters written to \p os.
 int switchEncoding(odocstream & os, BufferParams const & bparams,
-                   Encoding const & oldEnc, Encoding const & newEnc);
+                   bool moving_arg, Encoding const & oldEnc,
+                   Encoding const & newEnc);
 
 } // namespace lyx