diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 10:11:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 12:41:09 +0000 |
commit | 5a308b1239a09417507b0d05090ff2d3418d5133 (patch) | |
tree | 990fa9015a4107e4916691eb4dee80fa5713e96b /framework/source/uielement | |
parent | c1a227600d0b16df283162d24f1a31f5c9cee474 (diff) |
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'framework/source/uielement')
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index 0cfc9099f467..85ddc81a418c 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -109,9 +109,9 @@ static const sal_uInt16 STARTID_CUSTOMIZE_POPUPMENU = 1000; class ImageOrientationListener : public svt::FrameStatusListener { public: - ImageOrientationListener( const Reference< XStatusListener > rReceiver, - const Reference< XComponentContext > rxContext, - const Reference< XFrame > rFrame ); + ImageOrientationListener( const Reference< XStatusListener >& rReceiver, + const Reference< XComponentContext >& rxContext, + const Reference< XFrame >& rFrame ); virtual ~ImageOrientationListener(); virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -121,9 +121,9 @@ class ImageOrientationListener : public svt::FrameStatusListener }; ImageOrientationListener::ImageOrientationListener( - const Reference< XStatusListener > rReceiver, - const Reference< XComponentContext > rxContext, - const Reference< XFrame > rFrame ) : + const Reference< XStatusListener >& rReceiver, + const Reference< XComponentContext >& rxContext, + const Reference< XFrame >& rFrame ) : FrameStatusListener( rxContext, rFrame ), m_xReceiver( rReceiver ) { |