]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.cpp
Fix dialog handling of Insert Plain Text
[lyx.git] / src / BufferList.cpp
index 24bb2424f094c92ae52e05999c021c92448c61c7..60f87a020199fa7bb475106f16b0ff61d882a76e 100644 (file)
@@ -25,6 +25,7 @@
 #include "frontends/alert.h"
 
 #include "support/filetools.h"
+#include "support/lstrings.h"
 #include "support/Package.h"
 
 #include <boost/bind.hpp>
@@ -184,8 +185,7 @@ Buffer * BufferList::newBuffer(string const & s, bool const ronly)
 {
        auto_ptr<Buffer> tmpbuf(new Buffer(s, ronly));
        tmpbuf->params().useClassDefaults();
-       LYXERR(Debug::INFO) << "Assigning to buffer "
-                           << bstore.size() << endl;
+       LYXERR(Debug::INFO, "Assigning to buffer " << bstore.size());
        bstore.push_back(tmpbuf.get());
        return tmpbuf.release();
 }