summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-30 14:33:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-30 19:26:41 +0100
commit2b8b8740f211a649a358fbe2406cae12e9621a77 (patch)
treec18b9f5c867b7ac2483baa2b5bc9ac61f4b3383a /chart2
parentdd5fa4cea7b0c6912754e6887a678a050d4a7610 (diff)
default assignment operator is fine
Change-Id: I0b63abbfe7d29c35cf7c7dd047527b20ad46c538
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/inc/ObjectIdentifier.hxx1
-rw-r--r--chart2/source/tools/ObjectIdentifier.cxx8
2 files changed, 0 insertions, 9 deletions
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx
index 574b2c7cf0c5..a38cdc5e6847 100644
--- a/chart2/source/inc/ObjectIdentifier.hxx
+++ b/chart2/source/inc/ObjectIdentifier.hxx
@@ -96,7 +96,6 @@ public:
virtual ~ObjectIdentifier();
ObjectIdentifier( const ObjectIdentifier& rOID );
- ObjectIdentifier& operator=( const ObjectIdentifier& rOID );
bool operator==( const ObjectIdentifier& rOID ) const;
bool operator!=( const ObjectIdentifier& rOID ) const;
bool operator<( const ObjectIdentifier& rOID ) const;
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index 94862b2cad22..4a653531e5db 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -279,14 +279,6 @@ ObjectIdentifier::ObjectIdentifier( const ObjectIdentifier& rOID )
:m_aObjectCID( rOID.m_aObjectCID )
,m_xAdditionalShape( rOID.m_xAdditionalShape )
{
-
-}
-
-ObjectIdentifier& ObjectIdentifier::operator=( const ObjectIdentifier& rOID )
-{
- m_aObjectCID = rOID.m_aObjectCID;
- m_xAdditionalShape = rOID.m_xAdditionalShape;
- return *this;
}
bool ObjectIdentifier::operator==( const ObjectIdentifier& rOID ) const