]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
Cleanup bruteFind.
[lyx.git] / src / Text.cpp
index 416a67bf0db29dfe42fc30e93e519d97fec2cb03..f51646e55e681146027bc52d3d15b71ce530f0ae 100644 (file)
 #include <sstream>
 
 
-// TODO: replace if in Text::readParToken() with compile time switch
-#if 0
-
-#include "support/metahash.h"
-
-typedef boost::mpl::string<'\\end','_lay','out'> end_layout;
-typedef boost::mpl::string<'\\end','in','set'>   end_inset;
-
-void foo()
-{
-       std::string token = "\\end_layout";
-
-       switch (boost::hash_value(token)) {
-               case lyx::support::hash_string<end_layout>::value:
-                       return;
-               case lyx::support::hash_string<end_inset>::value:
-                       return;
-               default: ;
-       };
-
-}
-#endif
-
-
 using namespace std;
 using namespace lyx::support;