Compile fix for those platforms using the locale facets implemented

in docstring.cpp (this was an oversight in r36748).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36767 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-12-07 22:53:07 +00:00
parent c24f8ae84e
commit 4457cd44e8
3 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@
using namespace std; using namespace std;
using lyx::support::isHexChar;
namespace lyx { namespace lyx {

View File

@ -332,7 +332,7 @@ bool hasDigitASCII(docstring const & str)
} }
static bool isHexChar(char_type c) bool isHexChar(char_type c)
{ {
return c == '0' || return c == '0' ||
c == '1' || c == '1' ||

View File

@ -47,6 +47,8 @@ bool isStrDbl(std::string const & str);
/// does the string contain a digit? /// does the string contain a digit?
bool hasDigitASCII(docstring const & str); bool hasDigitASCII(docstring const & str);
bool isHexChar(char_type);
bool isHex(docstring const & str); bool isHex(docstring const & str);
int hexToInt(docstring const & str); int hexToInt(docstring const & str);