#include <config.h>
#include "tex-accent.h"
-#include "support/tostr.h"
+#include "support/convert.h"
+
+#include <string>
+
+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
string const DoAccent(char c, tex_accent accent)
{
- return DoAccent(tostr(c), accent);
+ return DoAccent(convert<string>(c), accent);
}