X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex-accent.C;h=ddfa1a7dfb8b8f87fdc229b5890fc170827eb512;hb=65ca7003ba47b7348610393a9a0d2d309b4e9702;hp=7ff220d6f2f2f5db6400a41840cec9473bb5621b;hpb=91de22ef340abbf1e9ba7d422bcd9024fa90d63f;p=lyx.git diff --git a/src/tex-accent.C b/src/tex-accent.C index 7ff220d6f2..ddfa1a7dfb 100644 --- a/src/tex-accent.C +++ b/src/tex-accent.C @@ -12,7 +12,11 @@ #include #include "tex-accent.h" -#include "support/tostr.h" +#include "support/convert.h" + +#include + +using std::string; /* the names used by TeX and XWindows for deadkeys/accents are not the same so here follows a table to clearify the differences. Please correct this @@ -97,5 +101,5 @@ string const DoAccent(string const & s, tex_accent accent) string const DoAccent(char c, tex_accent accent) { - return DoAccent(tostr(c), accent); + return DoAccent(convert(c), accent); }