summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 10:11:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 12:41:09 +0000
commit5a308b1239a09417507b0d05090ff2d3418d5133 (patch)
tree990fa9015a4107e4916691eb4dee80fa5713e96b /extensions
parentc1a227600d0b16df283162d24f1a31f5c9cee474 (diff)
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/admininvokationimpl.cxx6
-rw-r--r--extensions/source/abpilot/admininvokationimpl.hxx2
-rw-r--r--extensions/source/bibliography/framectr.hxx4
-rw-r--r--extensions/source/propctrlr/eventhandler.cxx2
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx2
-rw-r--r--extensions/source/propctrlr/standardcontrol.hxx4
6 files changed, 10 insertions, 10 deletions
diff --git a/extensions/source/abpilot/admininvokationimpl.cxx b/extensions/source/abpilot/admininvokationimpl.cxx
index 424ef337d380..119f0f29379a 100644
--- a/extensions/source/abpilot/admininvokationimpl.cxx
+++ b/extensions/source/abpilot/admininvokationimpl.cxx
@@ -46,11 +46,11 @@ namespace abp
//= OAdminDialogInvokation
- OAdminDialogInvokation::OAdminDialogInvokation(const Reference< XComponentContext >& _rxContext
- , const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > _xDataSource
+ OAdminDialogInvokation::OAdminDialogInvokation(const Reference< XComponentContext >& _rxContext,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxDataSource
, vcl::Window* _pMessageParent)
:m_xContext(_rxContext)
- ,m_xDataSource(_xDataSource)
+ ,m_xDataSource(_rxDataSource)
,m_pMessageParent(_pMessageParent)
{
DBG_ASSERT(m_xContext.is(), "OAdminDialogInvokation::OAdminDialogInvokation: invalid service factory!");
diff --git a/extensions/source/abpilot/admininvokationimpl.hxx b/extensions/source/abpilot/admininvokationimpl.hxx
index e71b5ec55802..486223ca30c0 100644
--- a/extensions/source/abpilot/admininvokationimpl.hxx
+++ b/extensions/source/abpilot/admininvokationimpl.hxx
@@ -41,7 +41,7 @@ namespace abp
public:
OAdminDialogInvokation(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > _xDataSource,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rDataSource,
vcl::Window* _pMessageParent
);
diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx
index 3457d5987a67..0319560a960c 100644
--- a/extensions/source/bibliography/framectr.hxx
+++ b/extensions/source/bibliography/framectr.hxx
@@ -42,9 +42,9 @@ class BibStatusDispatch
public:
::com::sun::star::util::URL aURL;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > xListener;
- BibStatusDispatch( const ::com::sun::star::util::URL& rURL, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > xRef )
+ BibStatusDispatch( const ::com::sun::star::util::URL& rURL, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& rRef )
: aURL( rURL )
- , xListener( xRef )
+ , xListener( rRef )
{}
};
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index 4ea25f7abdec..10c485cca2a8 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -308,7 +308,7 @@ namespace pcr
::std::insert_iterator< TypeBag >( _out_rTypes, _out_rTypes.begin() ) );
}
- bool operator ==( const ScriptEventDescriptor _lhs, const ScriptEventDescriptor _rhs )
+ bool operator ==( const ScriptEventDescriptor& _lhs, const ScriptEventDescriptor& _rhs )
{
return ( ( _lhs.ListenerType == _rhs.ListenerType )
&& ( _lhs.EventMethod == _rhs.EventMethod )
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index bb789216efac..bac8e56187f4 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -387,7 +387,7 @@ namespace pcr
}
- void HyperlinkInput::impl_checkEndClick( const ::MouseEvent rMEvt )
+ void HyperlinkInput::impl_checkEndClick( const ::MouseEvent& rMEvt )
{
const MouseSettings& rMouseSettings( GetSettings().GetMouseSettings() );
if ( ( std::abs( rMEvt.GetPosPixel().X() - m_aMouseButtonDownPos.X() ) < rMouseSettings.GetStartDragWidth() )
diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx
index a78b43ed0359..8c80714bc3d5 100644
--- a/extensions/source/propctrlr/standardcontrol.hxx
+++ b/extensions/source/propctrlr/standardcontrol.hxx
@@ -184,8 +184,8 @@ namespace pcr
virtual void Tracking( const TrackingEvent& rTEvt ) SAL_OVERRIDE;
private:
- void impl_checkEndClick( const MouseEvent rMEvt );
- bool impl_textHitTest( const Point& _rWindowPos );
+ void impl_checkEndClick( const MouseEvent& rMEvt );
+ bool impl_textHitTest( const Point& rWindowPos );
};