mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix potential link error in tests.
This is a followup ofd4718b18
, which itself fixes a problem introduced in66fa801e
.
This commit is contained in:
parent
319ee3296a
commit
13c60bfa78
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user