summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:59:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:20 +0100
commit2c907d21077ee6e5e68039842fcf8721bde5bef0 (patch)
tree6281b4afefebe4c75757dbb0cc0af5f700d1eed7 /ucbhelper
parentc622bc0696f0e2ad8880dc6a3783d4a13e222977 (diff)
bool improvements
Change-Id: Ia9f1b1d1a0fea7dbda8e2a322aaf86899bfd7fd3
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/proxydecider.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx
index dfc0cb7b1294..1ed0e91ea7ad 100644
--- a/ucbhelper/source/client/proxydecider.cxx
+++ b/ucbhelper/source/client/proxydecider.cxx
@@ -185,7 +185,7 @@ bool WildCard::Matches( const OUString& rString ) const
{
case '?':
if ( *pStr == '\0' )
- return 0;
+ return false;
break;
default:
@@ -194,7 +194,7 @@ bool WildCard::Matches( const OUString& rString ) const
pWild++;
if ( *pWild != *pStr )
if ( !pos )
- return 0;
+ return false;
else
pWild += pos;
else
@@ -206,7 +206,7 @@ bool WildCard::Matches( const OUString& rString ) const
while ( *pWild == '*' )
pWild++;
if ( *pWild == '\0' )
- return 1;
+ return true;
flag = 1;
pos = 0;
if ( *pStr == '\0' )