summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-23 13:08:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-23 13:08:11 +0200
commit1f1f26bf0fcd695fcfb4b034bca001631646674e (patch)
treeb970e106d70c2cac993bf32c9f20b3bae2d6e0d4 /hwpfilter
parent5bd5baff3f2a55bc2d84e1e352a00dd6969394e3 (diff)
loplugin:implicitboolconversion
Change-Id: I21aeb9504be38e4a6b55892730131a878234ced3
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpeq.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx
index b87574cab863..e7afd609524c 100644
--- a/hwpfilter/source/hwpeq.cxx
+++ b/hwpfilter/source/hwpeq.cxx
@@ -421,7 +421,7 @@ void make_keyword( char *keyword, const char *token)
if( (token[0] & 0x80) || rtl::isAsciiLowerCase(token[0]) || strlen(token) < 2 )
return;
- int capital = rtl::isAsciiUpperCase(keyword[1]);
+ bool capital = rtl::isAsciiUpperCase(keyword[1]);
for( ptr = keyword + 2; *ptr && result; ptr++ )
{
if( (*ptr & 0x80) ||