diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2010-04-27 12:15:15 +0200 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2010-04-27 12:15:15 +0200 |
commit | cdc975072e0ebf06332bb6c1b413b9ed629c32fb (patch) | |
tree | c630106d9c28ffdf058dba57bd27ee8cc921cfc8 /comphelper/source/misc | |
parent | 7a00b3600e888d1744ca8ca58924ad9bb59b023d (diff) | |
parent | c5934ada09feec288519cbdfbe1c0c988a2fceec (diff) |
Merge to DEV300_m77
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/namedvaluecollection.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/comphelper/source/misc/namedvaluecollection.cxx b/comphelper/source/misc/namedvaluecollection.cxx index 570a85122c96..8bab7fa3d7c7 100644 --- a/comphelper/source/misc/namedvaluecollection.cxx +++ b/comphelper/source/misc/namedvaluecollection.cxx @@ -85,7 +85,14 @@ namespace comphelper NamedValueCollection::NamedValueCollection( const NamedValueCollection& _rCopySource ) :m_pImpl( new NamedValueCollection_Impl ) { - m_pImpl->aValues = _rCopySource.m_pImpl->aValues; + *this = _rCopySource; + } + + //-------------------------------------------------------------------- + NamedValueCollection& NamedValueCollection::operator=( const NamedValueCollection& i_rCopySource ) + { + m_pImpl->aValues = i_rCopySource.m_pImpl->aValues; + return *this; } //-------------------------------------------------------------------- |