#include "support/filetools.h"
#include "lyx_gui_misc.h" //WriteAlert
#include "gettext.h"
+#include "BufferView.h"
using std::vector;
using std::find;
string const & format)
{
string const displaypath = MakeDisplayPath(filename);
- string const s1 = _("Importing") + ' ' + displaypath + "...";
- lv->message(s1);
+ ostringstream s1;
+ s1 << _("Importing") << ' ' << displaypath << "...";
+ lv->message(s1.str().c_str());
string const lyxfile = ChangeExtension(filename, ".lyx");