]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.cpp
Limit ligature protection to quote ligature chars
[lyx.git] / src / insets / InsetCommandParams.cpp
index e291053ac8a7ff9088bcb502a6694666f891204e..931e1bb09376111ee656618b3956beffb678d170 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <config.h>
 #include <algorithm>
+#include <functional>
+
 
 #include "InsetCommandParams.h"
 
@@ -275,7 +277,13 @@ void InsetCommandParams::setCmdName(string const & name)
 }
 
 
-void InsetCommandParams::read(Lexer & lex, Buffer const * buffer)
+void InsetCommandParams::read(Lexer & lex)
+{
+       Read(lex, 0);
+}
+
+
+void InsetCommandParams::Read(Lexer & lex, Buffer const * buffer)
 {
        lex.setContext("InsetCommandParams::read");
        lex >> insetName(insetCode_).c_str();