diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-23 07:19:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-25 19:24:23 +0200 |
commit | 98de5b40c8a3fd4e57477b6d994e3b1472207f71 (patch) | |
tree | 567fdbbaecbddbfc19f28a08da5d1f6d5207748c /padmin | |
parent | fix TODO news:// is nonsense (diff) | |
download | core-98de5b40c8a3fd4e57477b6d994e3b1472207f71.tar.gz core-98de5b40c8a3fd4e57477b6d994e3b1472207f71.zip |
Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/helper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/padmin/source/helper.cxx b/padmin/source/helper.cxx index a65915047f3b..1ca8803d7635 100644 --- a/padmin/source/helper.cxx +++ b/padmin/source/helper.cxx @@ -106,9 +106,9 @@ void padmin::FindFiles( const OUString& rDirectory, ::std::list< String >& rResu OUString aSuffix = rSuffixes.getToken( nToken, ';' ); if( aFileName.Len() > aSuffix.getLength()+1 ) { - String aExtension = aFileName.Copy( aFileName.Len()-aSuffix.getLength() ); + OUString aExtension = aFileName.Copy( aFileName.Len()-aSuffix.getLength() ); if( aFileName.GetChar( aFileName.Len()-aSuffix.getLength()-1 ) == '.' && - aExtension.EqualsIgnoreCaseAscii( aSuffix ) ) + aExtension.equalsIgnoreAsciiCase( aSuffix ) ) { rResult.push_back( aFileName ); break; |