summaryrefslogtreecommitdiffstats
path: root/chart2/source/tools/OPropertySet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/OPropertySet.cxx')
-rw-r--r--chart2/source/tools/OPropertySet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx
index 0c45241d96f0..b18653887969 100644
--- a/chart2/source/tools/OPropertySet.cxx
+++ b/chart2/source/tools/OPropertySet.cxx
@@ -56,8 +56,8 @@ OPropertySet::OPropertySet( const OPropertySet & rOther, ::osl::Mutex & par_rMut
m_bSetNewValuesExplicitlyEvenIfTheyEqualDefault(false)
{
MutexGuard aGuard( m_rMutex );
- if( rOther.m_pImplProperties.get())
- m_pImplProperties.reset( new impl::ImplOPropertySet( * rOther.m_pImplProperties.get()));
+ if (rOther.m_pImplProperties)
+ m_pImplProperties.reset(new impl::ImplOPropertySet(*rOther.m_pImplProperties));
}
void OPropertySet::SetNewValuesExplicitlyEvenIfTheyEqualDefault()