X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex-accent.C;h=ddfa1a7dfb8b8f87fdc229b5890fc170827eb512;hb=6c2e78e12855d8661eb289ded3dc8722748863b8;hp=6711ad404751371929902387f1108e307c4dfa4f;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/tex-accent.C b/src/tex-accent.C index 6711ad4047..ddfa1a7dfb 100644 --- a/src/tex-accent.C +++ b/src/tex-accent.C @@ -1,20 +1,22 @@ -/* This file is part of - * ====================================================== +/** + * \file tex-accent.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor + * \author Lars Gullik Bjønnes + * \author Matthias Ettrich * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2001 The LyX Team. - * - * ====================================================== */ + * Full author contact details are available in file CREDITS. + */ #include -#include #include "tex-accent.h" -#include "commandtags.h" -#include "LString.h" -#include "support/lstrings.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 @@ -99,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); }