summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-03-14 17:15:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-03-14 17:15:26 +0000
commit1c36c112707677fe89e427b3baf93c7c0b78d17d (patch)
tree99d3800482191fc75fa93f4664274e037436daeb /unotools/source/ucbhelper
parent7e6365efdd662817e153aa9e0962a7b626e4a04e (diff)
CWS-TOOLING: integrate CWS cmcfixes55
2009-03-03 10:04:14 +0100 cmc r268711 : #i99765# silence warning 2009-03-02 12:18:48 +0100 cmc r268647 : #i99772# silence warnings under >= python 2.6 and gcc 4.4 2009-03-02 10:51:12 +0100 cmc r268641 : #i99767# fix up trivial && || 2009-03-02 10:32:02 +0100 cmc r268640 : #i99766 remove && || warning 2009-03-02 10:01:05 +0100 cmc r268638 : #i99764# easy && || warnings 2009-02-27 13:03:08 +0100 cmc r268583 : #i96059# fix dodgy code 2009-02-27 12:57:38 +0100 cmc r268582 : #i99718# don't leave unused methods on non-win platform
Diffstat (limited to 'unotools/source/ucbhelper')
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index 67049e043266..2b301efc4e52 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -709,7 +709,7 @@ sal_Bool UCBContentHelper::Find( const String& rFolder, const String& rName, Str
INetURLObject aFileObject( pFiles[i] );
String aFile = aFileObject.getName(
INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).toAsciiLowerCase();
- if ( bWild && WildCard( rName ).Matches( aFile ) || aFile == rName )
+ if ( (bWild && WildCard( rName ).Matches( aFile )) || aFile == rName )
{
// names match
rFile = aFileObject.GetMainURL( INetURLObject::NO_DECODE );