diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 16:29:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 17:01:52 +0000 |
commit | 429ff8877a0a8c864b6b1fc227f6efccb61b5be6 (patch) | |
tree | 4e04d30ec3cf0044a7cbefc7ca7c20c38ad67e37 /reportdesign | |
parent | 2567d8040d060525a1125a36e4e3704421833787 (diff) |
V813: Decreased performance
Change-Id: Ib40140b97b53ed7affaf3a209a0a12a60ee7434c
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/UndoActions.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/api/ReportDefinition.cxx | 8 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/UndoActions.cxx | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx index 14d33bd1d149..72dd6193146f 100644 --- a/reportdesign/inc/UndoActions.hxx +++ b/reportdesign/inc/UndoActions.hxx @@ -187,7 +187,7 @@ namespace rptui public: OUndoContainerAction(SdrModel& rMod ,Action _eAction - ,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer > _xContainer + ,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& rContainer ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElem ,sal_uInt16 _nCommentId); virtual ~OUndoContainerAction(); diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index 2261a8298637..767100816e6c 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -2298,7 +2298,7 @@ class OStylesHelper: protected: virtual ~OStylesHelper(){} public: - OStylesHelper(const uno::Type _aType = cppu::UnoType<container::XElementAccess>::get()); + OStylesHelper(const uno::Type& rType = cppu::UnoType<container::XElementAccess>::get()); // XNameContainer virtual void SAL_CALL insertByName( const OUString& aName, const uno::Any& aElement ) throw(lang::IllegalArgumentException, container::ElementExistException,lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -2320,9 +2320,9 @@ public: virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(uno::RuntimeException, std::exception) SAL_OVERRIDE; }; -OStylesHelper::OStylesHelper(const uno::Type _aType) -: cppu::BaseMutex() -,m_aType(_aType) +OStylesHelper::OStylesHelper(const uno::Type& rType) + : cppu::BaseMutex() + , m_aType(rType) { } ; diff --git a/reportdesign/source/core/sdr/UndoActions.cxx b/reportdesign/source/core/sdr/UndoActions.cxx index 7331e88abd18..a676dbc70c39 100644 --- a/reportdesign/source/core/sdr/UndoActions.cxx +++ b/reportdesign/source/core/sdr/UndoActions.cxx @@ -105,12 +105,12 @@ void OCommentUndoAction::Redo() OUndoContainerAction::OUndoContainerAction(SdrModel& _rMod ,Action _eAction - ,const uno::Reference< container::XIndexContainer > _xContainer + ,const uno::Reference< container::XIndexContainer >& rContainer ,const Reference< XInterface > & xElem ,sal_uInt16 _nCommentId) :OCommentUndoAction(_rMod,_nCommentId) ,m_xElement(xElem) - ,m_xContainer(_xContainer) + ,m_xContainer(rContainer) ,m_eAction( _eAction ) { // normalize |