summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-23 07:19:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-25 19:24:23 +0200
commit98de5b40c8a3fd4e57477b6d994e3b1472207f71 (patch)
tree567fdbbaecbddbfc19f28a08da5d1f6d5207748c /padmin
parent0552a91acde9dce28c0d92c552d21fbadfcb9184 (diff)
Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/helper.cxx4
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;