]> git.lyx.org Git - lyx.git/blobdiff - src/toc.C
ws changes only
[lyx.git] / src / toc.C
index 0338f3f98ac3608f92e70c1e0f17d82b80ddd18b..e01daf85f7867446844e4b6bf8b3c3e322e4457d 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
@@ -30,6 +30,7 @@
 using std::vector;
 using std::max;
 using std::ostream;
+using std::string;
 
 namespace lyx {
 namespace toc {
@@ -47,10 +48,9 @@ void TocItem::goTo(LyXView & lv_) const
 }
 
 
-int TocItem::action() const
+FuncRequest TocItem::action() const
 {
-       return lyxaction.getPseudoAction(LFUN_GOTO_PARAGRAPH,
-                                        tostr(id_));
+       return FuncRequest(LFUN_GOTO_PARAGRAPH, tostr(id_));
 }