mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
c24f8ae84e
commit
4457cd44e8
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
using lyx::support::isHexChar;
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
|
@ -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' ||
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user