]> git.lyx.org Git - lyx.git/blobdiff - src/toc.C
- Link against qt-mt333.lib which is what the current qt3 cvs produces
[lyx.git] / src / toc.C
index 9e06fc52eae051531aaa7067d05a12c46560dbe8..603912ab55343b142dda1381799b8edd38116356 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
@@ -25,7 +25,7 @@
 #include "insets/insetfloat.h"
 #include "insets/insetwrap.h"
 
-#include "support/tostr.h"
+#include "support/convert.h"
 
 using std::vector;
 using std::max;
@@ -43,14 +43,14 @@ string const TocItem::asString() const
 
 void TocItem::goTo(LyXView & lv_) const
 {
-       string const tmp = tostr(id_);
+       string const tmp = convert<string>(id_);
        lv_.dispatch(FuncRequest(LFUN_GOTO_PARAGRAPH, tmp));
 }
 
 
 FuncRequest TocItem::action() const
 {
-       return FuncRequest(LFUN_GOTO_PARAGRAPH, tostr(id_));
+       return FuncRequest(LFUN_GOTO_PARAGRAPH, convert<string>(id_));
 }