commit 27844f580e8774d429afb8dce60d80b60911aa7f
Author: Kornel Benko <[email protected]>
Date:   Fri Mar 27 10:53:12 2015 +0100

    Expand dummy_functions.cpp with needed class for check_ExternalTransforms.

diff --git a/src/tests/dummy_functions.cpp b/src/tests/dummy_functions.cpp
index ce4261c..9d4298b 100644
--- a/src/tests/dummy_functions.cpp
+++ b/src/tests/dummy_functions.cpp
@@ -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;
+       }
+
 }

Reply via email to