#include "lyxtextclass.h"
#include "debug.h"
#include "lyxlex.h"
-#include "gettext.h"
-#include "frontends/Alert.h"
#include "support/lyxfunctional.h"
-#include "support/LAssert.h"
#include "support/filetools.h"
-#include <utility>
+using lyx::textclass_type;
-using namespace lyx::support;
+using lyx::support::LibFileSearch;
+using lyx::support::MakeDisplayPath;
#ifndef CXX_GLOBAL_CSTD
using std::exit;
#endif
-using lyx::textclass_type;
-using std::pair;
-using std::make_pair;
using std::endl;
using std::find_if;
+using std::make_pair;
using std::sort;
+using std::string;
+using std::pair;
// Gets textclass number from name