]> git.lyx.org Git - lyx.git/blobdiff - src/support/tests/dummy_functions.cpp
Amend 7d021a93: Use interprocedural optimization if possible
[lyx.git] / src / support / tests / dummy_functions.cpp
index 63ff0c051e829ecc63821f7d77c48473c55616fe..7ae711312a039abe96bfe48f93dd6ab4d638306b 100644 (file)
@@ -11,11 +11,6 @@ namespace lyx {
        // Dummy LyXRC support
        class LyXRC { string icon_set; } lyxrc;
 
-       // Dummy LyXAlignment support
-       enum LyXAlignment {
-               DUMMY
-       };
-
        // Keep the linker happy on Windows
        void lyx_exit(int) {}
 
@@ -33,24 +28,4 @@ namespace lyx {
                return lyx_messages;
        }
 
-       string alignmentToCSS(LyXAlignment)
-       {
-               return string();
-       }
-
-       //
-       // Dummy FontMetrics (needed by Length)
-       //
-       namespace frontend {
-       class FontMetrics {
-               int em() const { return 0; };
-       };
-       }
-
-       class FontInfo;
-
-       frontend::FontMetrics const & theFontMetrics(FontInfo const &) {
-               static frontend::FontMetrics dummy;
-               return dummy;
-       }
-}
+} // namespace lyx