]> git.lyx.org Git - lyx.git/blobdiff - src/counters.C
gnome build removal, gtk build fix
[lyx.git] / src / counters.C
index 82be8664f0177a7c79ca178f5244efc26f49eeb3..1411660facf68c86cb2bdb80b9d8658dfc33f4a0 100644 (file)
@@ -16,7 +16,7 @@
 #include "debug.h"
 
 #include "support/lstrings.h"
-#include "support/tostr.h"
+#include "support/convert.h"
 
 #include <boost/assert.hpp>
 
@@ -282,7 +282,7 @@ string Counters::labelItem(string const & ctr, string const & numbertype)
        if (numbertype == "Roman")
                return romanCounter(value(ctr));
 
-       return tostr(value(ctr));
+       return convert<string>(value(ctr));
 }