]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.cpp
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / BufferList.cpp
index 198e0bfad047c354c4c9cf48cf2edae6c77800fd..145c0c44a0ffc593b4b92da901323ca9f027b418 100644 (file)
@@ -15,6 +15,7 @@
 #include "Author.h"
 #include "Buffer.h"
 #include "BufferParams.h"
+#include "OutputParams.h"
 
 #include "frontends/alert.h"
 
@@ -127,7 +128,7 @@ Buffer * BufferList::createNewBuffer(string const & s)
 {
        unique_ptr<Buffer> tmpbuf;
        try {
-               tmpbuf = make_unique<Buffer>(s);
+               tmpbuf = lyx::make_unique<Buffer>(s);
        } catch (ExceptionMessage const & message) {
                if (message.type_ == ErrorException) {
                        Alert::error(message.title_, message.details_);