]> git.lyx.org Git - lyx.git/blobdiff - src/support/tests/dummy_functions.cpp
Update to boost 1.72
[lyx.git] / src / support / tests / dummy_functions.cpp
index e95ea562356604e4409deb62ec8943265ff99d07..b7e27ed70b9299d271d808fa8632cb798a7c9f1e 100644 (file)
@@ -1,6 +1,7 @@
 #include <config.h>
 
-#include "Format.h"
+#include "LyXRC.h"
+
 #include "support/Messages.h"
 
 using namespace std;
@@ -10,12 +11,7 @@ namespace lyx {
        bool verbose = false;
 
        // Dummy LyXRC support
-       class LyXRC { string icon_set; } lyxrc;
-
-       // Dummy LyXAlignment support
-       enum LyXAlignment {
-               DUMMY
-       };
+       LyXRC lyxrc;
 
        // Keep the linker happy on Windows
        void lyx_exit(int) {}
@@ -34,16 +30,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