summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' )