]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.h
do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
[lyx.git] / src / metricsinfo.h
index 5c6e81c1c96ee6ae9694d5044c1cad6d04598415..840944548e1c6cecc2e776956100b5ee1151dbc6 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "lyxfont.h"
 #include "support/docstring.h"
+#include <string>
 
 class BufferView;
 
@@ -140,7 +141,8 @@ protected:
 class FontChanger : public Changer<LyXFont> {
 public:
        ///
-       FontChanger(LyXFont & orig, char const * font);
+       FontChanger(LyXFont & orig, docstring const & font);
+       FontChanger(MetricsBase & mb, char const * const font);
        ///
        ~FontChanger();
 };
@@ -150,7 +152,8 @@ public:
 class FontSetChanger : public Changer<MetricsBase> {
 public:
        ///
-       FontSetChanger(MetricsBase & mb, char const * font);
+       FontSetChanger(MetricsBase & mb, docstring const & font);
+       FontSetChanger(MetricsBase & mb, char const * const font);
        ///
        ~FontSetChanger();
 };