#include "toc.h"
#include "buffer.h"
#include "frontends/LyXView.h"
-#include "lyxfunc.h"
#include "LyXAction.h"
#include "paragraph.h"
#include "insets/insetfloat.h"
void TocItem::goTo(LyXView & lv_) const
{
string const tmp = tostr(par->id());
- lv_.getLyXFunc()->dispatch(FuncRequest(LFUN_GOTO_PARAGRAPH, tmp));
+ lv_.dispatch(FuncRequest(LFUN_GOTO_PARAGRAPH, tmp));
}