]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/dummy_impl.cpp
FindAdv: Comments
[lyx.git] / src / tex2lyx / dummy_impl.cpp
index cb650321ebe41bbad6771cabc6001f0be9e1d355..79278f40a379f59312f4cf0d2a1f240ac921bad7 100644 (file)
@@ -112,32 +112,6 @@ string alignmentToCSS(LyXAlignment)
        return string();
 }
 
-//
-// Dummy FontMetrics (needed by Length)
-//
-
-namespace frontend {
-class FontMetrics {
-       int em() const { return 0; };
-};
-} // namespace frontend
-
-class FontInfo;
-
-frontend::FontMetrics const & theFontMetrics(FontInfo const &) {
-       static frontend::FontMetrics dummy;
-       return dummy;
-}
-
-//
-// Dummy theApp() support (needed by support/Systemcall.cpp)
-//
-struct App {
-       bool cancel_export;
-};
-
-App app;
-App * theApp() { return &app; }
 
 //
 // Keep the linker happy on Windows