From 699ff5030142f43b174dd0beed3f1392251dbcc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Wed, 20 Oct 2010 23:51:31 +0000 Subject: [PATCH] line ending git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35736 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/numpunct_lyx_char_type.h | 118 +++++++++++++-------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/src/support/numpunct_lyx_char_type.h b/src/support/numpunct_lyx_char_type.h index d5b339b7ce..272b49a3f5 100644 --- a/src/support/numpunct_lyx_char_type.h +++ b/src/support/numpunct_lyx_char_type.h @@ -1,59 +1,59 @@ -// -*- C++ -*- -/** - * \file numpunct_lyx_char_type.h - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. - * - * \author Peter Kümmel - * - * Full author contact details are available in file CREDITS. - */ - -#ifndef LYX_NUMPUNCT_LYX_CHAR_TYPE_H -#define LYX_NUMPUNCT_LYX_CHAR_TYPE_H - - -#include - - -namespace std -{ - - template<> - class numpunct : public numpunct - { - public: - - typedef lyx::char_type char_type; - typedef basic_string string_type; - - static locale::id id; - - explicit numpunct(size_t __refs = 0) : numpunct(__refs) - {} - - char_type decimal_point() const - { return numpunct::decimal_point(); } - - char_type thousands_sep() const - { return numpunct::thousands_sep(); } - - string grouping() const - { return numpunct::grouping(); } - - string_type truename() const - { return lyx::from_ascii(numpunct::truename()); } - - string_type falsename() const - { return lyx::from_ascii(numpunct::falsename()); } - - - protected: - virtual ~numpunct(); - - }; - - - -} -#endif +// -*- C++ -*- +/** + * \file numpunct_lyx_char_type.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Peter Kümmel + * + * Full author contact details are available in file CREDITS. + */ + +#ifndef LYX_NUMPUNCT_LYX_CHAR_TYPE_H +#define LYX_NUMPUNCT_LYX_CHAR_TYPE_H + + +#include + + +namespace std +{ + + template<> + class numpunct : public numpunct + { + public: + + typedef lyx::char_type char_type; + typedef basic_string string_type; + + static locale::id id; + + explicit numpunct(size_t __refs = 0) : numpunct(__refs) + {} + + char_type decimal_point() const + { return numpunct::decimal_point(); } + + char_type thousands_sep() const + { return numpunct::thousands_sep(); } + + string grouping() const + { return numpunct::grouping(); } + + string_type truename() const + { return lyx::from_ascii(numpunct::truename()); } + + string_type falsename() const + { return lyx::from_ascii(numpunct::falsename()); } + + + protected: + virtual ~numpunct(); + + }; + + + +} +#endif -- 2.39.2