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 /extensions | |
parent | 0552a91acde9dce28c0d92c552d21fbadfcb9184 (diff) |
Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 8 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 4 | ||||
-rw-r--r-- | extensions/source/propctrlr/eformshelper.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 668dcc31a9b5..dbaa913ac0b5 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -1500,9 +1500,9 @@ void BibDataManager::SetMeAsUidListener() OUString theFieldName; for( sal_Int32 i=0; i<nCount; i++ ) { - String aName= pFields[i]; + const OUString& rName = pFields[i]; - if(aName.EqualsIgnoreCaseAscii(StrUID)) + if (rName.equalsIgnoreAsciiCase(StrUID)) { theFieldName=pFields[i]; break; @@ -1544,9 +1544,9 @@ void BibDataManager::RemoveMeAsUidListener() OUString theFieldName; for( sal_Int32 i=0; i<nCount; i++ ) { - String aName= pFields[i]; + const OUString& rName = pFields[i]; - if(aName.EqualsIgnoreCaseAscii(StrUID)) + if (rName.equalsIgnoreAsciiCase(StrUID)) { theFieldName=pFields[i]; break; diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index d8a64739bfd8..f254d28db79d 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -874,7 +874,7 @@ void BibFrameController_Impl::ChangeDataSource(const uno::Sequence< beans::Prope for ( sal_uInt16 n=0; n<nCount; n++ ) { BibStatusDispatch *pObj = &aStatusListeners[n]; - if(COMPARE_EQUAL == pObj->aURL.Path.compareToAscii("Bib/MenuFilter")) + if (pObj->aURL.Path == "Bib/MenuFilter") { FeatureStateEvent aEvent; aEvent.FeatureURL = pObj->aURL; @@ -889,7 +889,7 @@ void BibFrameController_Impl::ChangeDataSource(const uno::Sequence< beans::Prope pObj->xListener->statusChanged( aEvent ); bMenuFilter=sal_True; } - else if(COMPARE_EQUAL == pObj->aURL.Path.compareToAscii("Bib/query")) + else if (pObj->aURL.Path == "Bib/query") { FeatureStateEvent aEvent; aEvent.FeatureURL = pObj->aURL; diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx index 50dbebb419d4..dc0a92146d99 100644 --- a/extensions/source/propctrlr/eformshelper.cxx +++ b/extensions/source/propctrlr/eformshelper.cxx @@ -548,9 +548,9 @@ namespace pcr if ( xBinding.is() ) { // find a nice name for it - String sBaseName(PcrRes(RID_STR_BINDING_UI_NAME).toString()); + OUString sBaseName(PcrRes(RID_STR_BINDING_UI_NAME).toString()); sBaseName += OUString(" "); - String sNewName; + OUString sNewName; sal_Int32 nNumber = 1; do { |