]> git.lyx.org Git - lyx.git/blobdiff - src/toc.C
Look for mathed xpms. Doesn't do anything yet due to lack of workable XPMs
[lyx.git] / src / toc.C
index 256da3a31511ddaf41a6eb9d79d001569c537ed1..685108a81bab1028e89f3188ce915fdb39c61d45 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
@@ -23,7 +23,6 @@
 #include "toc.h"
 #include "buffer.h"
 #include "frontends/LyXView.h"
-#include "lyxfunc.h"
 #include "LyXAction.h"
 #include "paragraph.h"
 #include "insets/insetfloat.h"
@@ -46,7 +45,7 @@ string const TocItem::asString() const
 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));
 }