From 81202ae7487b139cb473ff85634003b36d67e8c4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 22 Sep 2013 16:58:29 +0100 Subject: Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be --- fpicker/source/office/iodlg.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 51ce476fa017..199a13ce045f 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1447,19 +1447,19 @@ SvtFileDialogFilter_Impl* SvtFileDialog::FindFilter_Impl while ( nFilter-- ) { SvtFileDialogFilter_Impl* pFilter = &(*pList)[ nFilter ]; - const String& rType = pFilter->GetType(); - String aSingleType = rType; + const OUString& rType = pFilter->GetType(); + OUString aSingleType = rType; if ( _bMultiExt ) { sal_Int32 nIdx = 0; while ( !pFoundFilter && nIdx != -1 ) { - aSingleType = rType.GetToken( 0, FILEDIALOG_DEF_EXTSEP, nIdx ); + aSingleType = rType.getToken( 0, FILEDIALOG_DEF_EXTSEP, nIdx ); #ifdef UNX if ( aSingleType == _rFilter ) #else - if ( aSingleType.CompareIgnoreCaseToAscii( _rFilter ) == COMPARE_EQUAL ) + if ( aSingleType.equalsIgnoreAsciiCase( _rFilter ) ) #endif pFoundFilter = pFilter; } @@ -1467,7 +1467,7 @@ SvtFileDialogFilter_Impl* SvtFileDialog::FindFilter_Impl #ifdef UNX else if ( rType == _rFilter ) #else - else if ( rType.CompareIgnoreCaseToAscii( _rFilter ) == COMPARE_EQUAL ) + else if ( rType.equalsIgnoreAsciiCase( _rFilter ) ) #endif pFoundFilter = pFilter; -- cgit