diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-22 16:58:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-22 20:32:02 +0100 |
commit | 81202ae7487b139cb473ff85634003b36d67e8c4 (patch) | |
tree | 5f204d5078b696b2f99aa360d3042a24b34a213b /fpicker | |
parent | da2c3cf0aa78cb3363b3ded2bebc418d0cc7ffca (diff) |
Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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; |