]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / tex2lyx / tex2lyx.h
index cd7323ba0df3aa47843f142fbcd5becc9356afc2..f720cf1ee6ebb7d9184d666a18f9e666a83a7c6b 100644 (file)
@@ -66,7 +66,7 @@ std::string find_file(std::string const & name, std::string const & path,
  * Therefore this may only be used to parse text in insets or table cells.
  */
 void parse_text_in_inset(Parser & p, std::ostream & os, unsigned flags,
-                         bool outer, Context const & context,
+                         bool outer, Context & context,
                          InsetLayout const * layout = nullptr,
                          std::string const & rdelim = "");