#include "lyxfont.h"
#include "support/docstring.h"
+#include <string>
class BufferView;
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();
};
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();
};