Fix potential link error in tests.

This is a followup of d4718b18, which itself fixes a problem introduced in 66fa801e.
This commit is contained in:
Jean-Marc Lasgouttes 2015-04-09 11:57:00 +02:00
parent 319ee3296a
commit 13c60bfa78

View File

@ -40,14 +40,16 @@ namespace lyx {
//
namespace frontend {
class FontMetrics {
int em() const { return 0; };
};
}
class FontInfo;
FontMetrics const & theFontMetrics(FontInfo const &) {
static FontMetrics dummy;
frontend::FontMetrics const & theFontMetrics(FontInfo const &) {
static frontend::FontMetrics dummy;
return dummy;
}