loplugin:implicitboolconversion
Change-Id: I21aeb9504be38e4a6b55892730131a878234ced3
This commit is contained in:
@@ -421,7 +421,7 @@ void make_keyword( char *keyword, const char *token)
|
|||||||
if( (token[0] & 0x80) || rtl::isAsciiLowerCase(token[0]) || strlen(token) < 2 )
|
if( (token[0] & 0x80) || rtl::isAsciiLowerCase(token[0]) || strlen(token) < 2 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int capital = rtl::isAsciiUpperCase(keyword[1]);
|
bool capital = rtl::isAsciiUpperCase(keyword[1]);
|
||||||
for( ptr = keyword + 2; *ptr && result; ptr++ )
|
for( ptr = keyword + 2; *ptr && result; ptr++ )
|
||||||
{
|
{
|
||||||
if( (*ptr & 0x80) ||
|
if( (*ptr & 0x80) ||
|
||||||
|
Reference in New Issue
Block a user