X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fconvert.h;h=c1cd31551a8e46b48ab89474ef4d2109c1f7c21d;hb=0a9735c5f7bbbaa24ac2e3e4fa745c6dfbc95a18;hp=eb51d77c838b842ef46712126e466ba0dc7b0bb2;hpb=480981fdcd39a4af04f24728434a9406a4923bdc;p=lyx.git diff --git a/src/support/convert.h b/src/support/convert.h index eb51d77c83..c1cd31551a 100644 --- a/src/support/convert.h +++ b/src/support/convert.h @@ -4,8 +4,8 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz - * \author Lars Gullik Bjønnes + * \author André Pönitz + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. * @@ -16,7 +16,7 @@ #ifndef CONVERT_H #define CONVERT_H -#include "support/docstring.h" +#include "support/strfwd.h" namespace lyx { @@ -30,15 +30,15 @@ template<> std::string convert(short unsigned int sui); template<> std::string convert(int i); template<> docstring convert(int i); template<> std::string convert(unsigned int ui); -template<> docstring convert(unsigned int ui); +template<> docstring convert(unsigned int ui); template<> std::string convert(unsigned long ul); -template<> docstring convert(unsigned long ul); +template<> docstring convert(unsigned long ul); template<> std::string convert(long l); -template<> docstring convert(long l); +template<> docstring convert(long l); template<> std::string convert(float f); template<> std::string convert(double d); template<> int convert(std::string const s); -template<> int convert(lyx::docstring const s); +template<> int convert(docstring const s); template<> unsigned int convert(std::string const s); template<> unsigned long convert(std::string const s); template<> double convert(std::string const s);