]> git.lyx.org Git - features.git/commitdiff
Looks like these are not needed for tests in support/
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 8 Jan 2018 10:20:06 +0000 (11:20 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 8 Jan 2018 10:20:06 +0000 (11:20 +0100)
src/support/tests/dummy_functions.cpp

index e95ea562356604e4409deb62ec8943265ff99d07..7ae711312a039abe96bfe48f93dd6ab4d638306b 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 
-#include "Format.h"
 #include "support/Messages.h"
 
 using namespace std;
@@ -12,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) {}
 
@@ -34,16 +28,4 @@ namespace lyx {
                return lyx_messages;
        }
 
-       // Dummy formats support (needed by Lexer)
-       Formats & theFormats()
-       {
-               static Formats dummy_formats;
-               return dummy_formats;
-       }
-
-       string alignmentToCSS(LyXAlignment)
-       {
-               return string();
-       }
-
 } // namespace lyx