[Libreoffice-commits] core.git: hwpfilter/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 23 11:08:36 UTC 2016
hwpfilter/source/hwpeq.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1f1f26bf0fcd695fcfb4b034bca001631646674e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jun 23 13:08:11 2016 +0200
loplugin:implicitboolconversion
Change-Id: I21aeb9504be38e4a6b55892730131a878234ced3
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx
index b87574c..e7afd60 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) ||
More information about the Libreoffice-commits
mailing list