summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/XPropertyTable.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:34:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 11:30:42 +0200
commit4ccd802d9a0530ec74b52d2ad7fbaa2d085223cb (patch)
treed8125e758537f4f2c7af52ef55a9a082e8645d93 /svx/source/unodraw/XPropertyTable.cxx
parent4948a0137992b33c7adfd3d91eb7b0387da11dff (diff)
use more OUString::operator== in svx
Change-Id: Ice996c741e239767a7a15fe9b11147f5384150ba Reviewed-on: https://gerrit.libreoffice.org/39940 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw/XPropertyTable.cxx')
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 8a21c0c6e06b..92bf5d6e396b 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -128,7 +128,7 @@ void SAL_CALL SvxUnoXPropertyTable::removeByName( const OUString& Name )
for( i = 0; i < nCount; i++ )
{
const XPropertyEntry* pEntry = get(i);
- if (pEntry && aInternalName.equals(pEntry->GetName()))
+ if (pEntry && aInternalName == pEntry->GetName())
{
mpList->Remove(i);
return;
@@ -150,7 +150,7 @@ void SAL_CALL SvxUnoXPropertyTable::replaceByName( const OUString& aName, const
for( i = 0; i < nCount; i++ )
{
const XPropertyEntry* pEntry = get(i);
- if (pEntry && aInternalName.equals(pEntry->GetName()))
+ if (pEntry && aInternalName == pEntry->GetName())
{
std::unique_ptr<XPropertyEntry> pNewEntry(createEntry(aInternalName, aElement));
if (!pNewEntry)
@@ -177,7 +177,7 @@ uno::Any SAL_CALL SvxUnoXPropertyTable::getByName( const OUString& aName )
{
const XPropertyEntry* pEntry = get(i);
- if (pEntry && aInternalName.equals(pEntry->GetName()))
+ if (pEntry && aInternalName == pEntry->GetName())
return getAny( pEntry );
}
@@ -214,7 +214,7 @@ sal_Bool SAL_CALL SvxUnoXPropertyTable::hasByName( const OUString& aName )
for( i = 0; i < nCount; i++ )
{
const XPropertyEntry* pEntry = get(i);
- if (pEntry && aInternalName.equals(pEntry->GetName()))
+ if (pEntry && aInternalName == pEntry->GetName())
return true;
}