Expand dummy_functions.cpp with needed class for check_ExternalTransforms.

This commit is contained in:
Kornel Benko 2015-03-27 10:53:12 +01:00
parent 73242e0052
commit 27844f580e

View File

@ -35,4 +35,20 @@ namespace lyx {
return string();
}
//
// Dummy FontMetrics (needed by Length)
//
class FontMetrics {
int em() const { return 0; };
};
class FontInfo;
FontMetrics const & theFontMetrics(FontInfo const &) {
static FontMetrics dummy;
return dummy;
}
}