summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltexti.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/filter/xml/xmltexti.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/filter/xml/xmltexti.cxx')
-rw-r--r--sw/source/filter/xml/xmltexti.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx
index a989dc57ad29..062ae2938c95 100644
--- a/sw/source/filter/xml/xmltexti.cxx
+++ b/sw/source/filter/xml/xmltexti.cxx
@@ -311,7 +311,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOLEObject(
if( pExistingOLENd )
{
OUString aExistingName = pExistingOLENd->GetOLEObj().GetCurrentPersistName();
- if ( aExistingName.equals( aObjName ) )
+ if ( aExistingName == aObjName )
{
OSL_FAIL( "The document contains duplicate object references, means it is partially broken, please let developers know how this document was generated!" );