summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/provider/propertyvalueset.cxx2
-rw-r--r--ucbhelper/source/provider/providerhelper.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/propertyvalueset.cxx b/ucbhelper/source/provider/propertyvalueset.cxx
index 892347e6781d..a9e1967a7ce1 100644
--- a/ucbhelper/source/provider/propertyvalueset.cxx
+++ b/ucbhelper/source/provider/propertyvalueset.cxx
@@ -564,7 +564,7 @@ sal_Int32 SAL_CALL PropertyValueSet::findColumn( const OUString& columnName )
sal_Int32 nCount = m_pValues->size();
for ( sal_Int32 n = 0; n < nCount; ++n )
{
- if ( (*m_pValues)[ n ].sPropertyName.equals( columnName ) )
+ if ( (*m_pValues)[ n ].sPropertyName == columnName )
return sal_Int32( n + 1 ); // Index is 1-based.
}
}
diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx
index f5e3163b5658..c377288069ee 100644
--- a/ucbhelper/source/provider/providerhelper.cxx
+++ b/ucbhelper/source/provider/providerhelper.cxx
@@ -314,7 +314,7 @@ bool ContentProviderImplHelper::renameAdditionalPropertySet(
{
const OUString& rKey = pKeys[ n ];
if ( rKey.startsWith( aOldKeyWithSlash )
- || rKey.equals( aOldKeyWithoutSlash ) )
+ || rKey == aOldKeyWithoutSlash )
{
OUString aNewKey
= rKey.replaceAt(
@@ -396,7 +396,7 @@ bool ContentProviderImplHelper::copyAdditionalPropertySet(
{
const OUString& rKey = pKeys[ n ];
if ( rKey.startsWith(aSrcKeyWithSlash )
- || rKey.equals( aSrcKeyWithoutSlash ) )
+ || rKey == aSrcKeyWithoutSlash )
{
OUString aNewKey
= rKey.replaceAt(
@@ -530,7 +530,7 @@ bool ContentProviderImplHelper::removeAdditionalPropertySet(
{
const OUString& rCurrKey = pKeys[ n ];
if ( rCurrKey.startsWith(aKeyWithSlash )
- || rCurrKey.equals( aKeyWithoutSlash ) )
+ || rCurrKey == aKeyWithoutSlash )
{
if ( !removeAdditionalPropertySet(
rCurrKey, false ) )