X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcounters.C;h=1411660facf68c86cb2bdb80b9d8658dfc33f4a0;hb=87cd77d1fc819bc8f14982fc6b20091720c011f5;hp=82be8664f0177a7c79ca178f5244efc26f49eeb3;hpb=46756fd9e4087fd30d9de504684d83803cd4b4c5;p=lyx.git diff --git a/src/counters.C b/src/counters.C index 82be8664f0..1411660fac 100644 --- a/src/counters.C +++ b/src/counters.C @@ -16,7 +16,7 @@ #include "debug.h" #include "support/lstrings.h" -#include "support/tostr.h" +#include "support/convert.h" #include @@ -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(value(ctr)); }