]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlToc.C
*duck*
[features.git] / src / frontends / controllers / ControlToc.C
index 5c731c0566f7bc5a58ab1c7590e61d76e679167a..50cf2a5cb30c2aaa8fb1ad67ca9292580eb3bbc6 100644 (file)
 #endif
 
 #include "ControlToc.h"
-#include "ViewBase.h"
-#include "ButtonControllerBase.h"
 #include "buffer.h"
 #include "Dialogs.h"
 #include "lyxfunc.h"
 #include "gettext.h"
 #include "BufferView.h"
 
-#include "frontends/LyXView.h"
-
 #include "support/lstrings.h" // tostr
 
-#include <boost/bind.hpp>
-
 using std::vector;
 
+
 ControlToc::ControlToc(LyXView & lv, Dialogs & d)
        : ControlCommand(lv, d, LFUN_TOC_INSERT)
-{
-       d_.showTOC = boost::bind(&ControlToc::showInset, this, _1);
-       d_.createTOC = boost::bind(&ControlToc::createInset, this, _1);
-}
+{}
 
 
 void ControlToc::Goto(int const & id) const