diff options
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/WrappedPropertySet.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx index cc00f5f300ba..1337ee3337e5 100644 --- a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx @@ -545,7 +545,7 @@ bool DataPointItemConverter::ApplySpecialItem( GetPropertySet()->getPropertyValue( u"Symbol"_ustr ) >>= aSymbol; if( aSymbol.Graphic != xGraphic ) { - aSymbol.Graphic = xGraphic; + aSymbol.Graphic = std::move(xGraphic); GetPropertySet()->setPropertyValue( u"Symbol"_ustr , uno::Any( aSymbol )); bChanged = true; } diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx index 9eee3f8632e8..073fd67aeae8 100644 --- a/chart2/source/tools/WrappedPropertySet.cxx +++ b/chart2/source/tools/WrappedPropertySet.cxx @@ -66,7 +66,7 @@ Reference< beans::XPropertySetInfo > SAL_CALL WrappedPropertySet::getPropertySet { xInfo = ::cppu::OPropertySetHelper::createPropertySetInfo( getInfoHelper() ); OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); - m_xInfo = xInfo; + m_xInfo = std::move(xInfo); } } else |