summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltexti.cxx
diff options
context:
space:
mode:
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!" );