summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/datman.cxx8
-rw-r--r--extensions/source/bibliography/framectr.cxx4
-rw-r--r--extensions/source/propctrlr/eformshelper.cxx4
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
{