]> git.lyx.org Git - features.git/blobdiff - src/support/tests/dummy_functions.cpp
Fixup commit 50060053
[features.git] / src / support / tests / dummy_functions.cpp
index 63ff0c051e829ecc63821f7d77c48473c55616fe..2b0f21710a9ffc9008241547d5d6275793affcbf 100644 (file)
@@ -1,5 +1,6 @@
 #include <config.h>
 
+#include "Format.h"
 #include "support/Messages.h"
 
 using namespace std;
@@ -33,6 +34,13 @@ 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();