#include "buffer.h"
#include "bufferlist.h"
+#include "bufferparams.h"
#include "errorlist.h"
#include "gettext.h"
#include "LaTeX.h"
#include "paragraph.h"
+#include "lyxvc.h"
+#include "texrow.h"
#include "vc-backend.h"
#include "frontends/Alert.h"
#include "support/filetools.h"
#include "support/lyxlib.h"
+using lyx::support::bformat;
+using lyx::support::FileInfo;
+using lyx::support::IsFileWriteable;
+using lyx::support::LibFileSearch;
+using lyx::support::MakeDisplayPath;
+using lyx::support::OnlyFilename;
+using lyx::support::OnlyPath;
+using lyx::support::unlink;
-extern BufferList bufferlist;
+using std::string;
-using namespace lyx::support;
+extern BufferList bufferlist;
namespace {
}
b->setReadonly(false);
+ b->fully_loaded(true);
b->updateDocLang(b->params().language);
return b;