summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ObjectIdentifier.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/ObjectIdentifier.cxx')
-rw-r--r--chart2/source/tools/ObjectIdentifier.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index 692d0c10983c..c594a52bf281 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -308,7 +308,7 @@ ObjectIdentifier& ObjectIdentifier::operator=( const ObjectIdentifier& rOID )
bool ObjectIdentifier::operator==( const ObjectIdentifier& rOID ) const
{
- if ( m_aObjectCID.equals( rOID.m_aObjectCID ) &&
+ if ( areIdenticalObjects( m_aObjectCID, rOID.m_aObjectCID ) &&
( m_xAdditionalShape == rOID.m_xAdditionalShape ) )
{
return true;
@@ -316,6 +316,11 @@ bool ObjectIdentifier::operator==( const ObjectIdentifier& rOID ) const
return false;
}
+bool ObjectIdentifier::operator!=( const ObjectIdentifier& rOID ) const
+{
+ return !operator==( rOID );
+}
+
bool ObjectIdentifier::operator<( const ObjectIdentifier& rOID ) const
{
bool bReturn = false;