]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
add new lyx funcs introduced in r34598 to doxy
[lyx.git] / src / LyX.cpp
index 99ec2e46a3b0f4f8b2852d0d809ad197a74421ac..e1bb5a92f7b58043dd9ca61bf19ce0184a88f0c4 100644 (file)
@@ -62,7 +62,7 @@
 #include "support/Path.h"
 #include "support/Systemcall.h"
 
-#include <boost/bind.hpp>
+#include "support/bind.h"
 #include <boost/scoped_ptr.hpp>
 
 #include <algorithm>
@@ -206,8 +206,8 @@ frontend::Application * theApp()
 
 LyX::~LyX()
 {
-       singleton_ = 0;
        delete pimpl_;
+       singleton_ = 0;
 }
 
 
@@ -484,7 +484,7 @@ bool LyX::loadFiles()
                        ErrorList const & el = buf->errorList("Parse");
                        if (!el.empty())
                                for_each(el.begin(), el.end(),
-                               boost::bind(&LyX::printError, this, _1));
+                               bind(&LyX::printError, this, _1));
                }
                else {
                        pimpl_->buffer_list_.release(buf);