summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbadocumentproperties.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:34:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 11:42:53 +0200
commit5838c0fe8e9244c2cefbd2f3c3554fdd2bfc5ee1 (patch)
treefaa90bfd319e2f5c62de4aff8daa2563651d3025 /sw/source/ui/vba/vbadocumentproperties.cxx
parent4ccd802d9a0530ec74b52d2ad7fbaa2d085223cb (diff)
use more OUString::operator== in sw
Change-Id: If43c8bfa906fc711ed8026a1e06add3d7ac166d9 Reviewed-on: https://gerrit.libreoffice.org/39941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/vba/vbadocumentproperties.cxx')
-rw-r--r--sw/source/ui/vba/vbadocumentproperties.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbadocumentproperties.cxx b/sw/source/ui/vba/vbadocumentproperties.cxx
index 4e1ce1815a5c..126306d25218 100644
--- a/sw/source/ui/vba/vbadocumentproperties.cxx
+++ b/sw/source/ui/vba/vbadocumentproperties.cxx
@@ -323,7 +323,7 @@ public:
bool bFound = false;
for ( sal_Int32 index = 0; index < nLen && !bFound ; ++index )
{
- if ( rPropName.equals( stats[ index ].Name ) )
+ if ( rPropName == stats[ index ].Name )
{
aReturn = stats[ index ].Value;
bFound = true;
@@ -343,7 +343,7 @@ public:
sal_Int32 nLen = stats.getLength();
for ( sal_Int32 index = 0; index < nLen; ++index )
{
- if ( rPropName.equals( stats[ index ].Name ) )
+ if ( rPropName == stats[ index ].Name )
{
stats[ index ].Value = aValue;
m_xDocProps->setDocumentStatistics(stats);