diff options
Diffstat (limited to 'reportdesign/source/core')
-rw-r--r-- | reportdesign/source/core/sdr/PropertyForward.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/RptObject.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/core/sdr/PropertyForward.cxx b/reportdesign/source/core/sdr/PropertyForward.cxx index 0450e2d342ba..394edfc12f43 100644 --- a/reportdesign/source/core/sdr/PropertyForward.cxx +++ b/reportdesign/source/core/sdr/PropertyForward.cxx @@ -30,10 +30,10 @@ namespace rptui OPropertyMediator::OPropertyMediator(const Reference< XPropertySet>& _xSource ,const Reference< XPropertySet>& _xDest - ,const TPropertyNamePair& _aNameMap + ,TPropertyNamePair&& _aNameMap ,bool _bReverse) : OPropertyForward_Base(m_aMutex) - ,m_aNameMap(_aNameMap) + ,m_aNameMap(std::move(_aNameMap)) ,m_xSource(_xSource) ,m_xDest(_xDest) ,m_bInChange(false) diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index cdcb355e7729..75ba20f61479 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -875,7 +875,7 @@ void OUnoObject::CreateMediator(bool _bReverse) m_xMediator = new OPropertyMediator( m_xReportComponent, xControlModel, - getPropertyNameMap(GetObjIdentifier()), + TPropertyNamePair(getPropertyNameMap(GetObjIdentifier())), _bReverse); } } |