diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-05 09:27:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-05 10:57:33 +0000 |
commit | 07d62eb38e591c89e71043f842c92186e33ae14a (patch) | |
tree | f64401bc89c13f12737c3baedc67be53a4e7f804 /dbaccess | |
parent | 967f609cb7bcfd42ccae3d6c8ea75ef9e40910be (diff) |
V801: Decreased performance
Change-Id: I5e7b5327b542f610efb0960b8bcfad10e04025b5
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/JoinTableView.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinTableView.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/copytablewizard.cxx | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index d822a6a64031..77f4278104a3 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -123,9 +123,9 @@ namespace dbaui @param _rxORB The service factory. */ - void SetServiceFactory(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > _rxORB) + void SetServiceFactory(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxORB) { - m_xORB = _rxORB; + m_xORB = rxORB; } /** opens a dialog filled with all data sources available for this type and diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx index c6a6d9e67bff..3e77f4df0f1f 100644 --- a/dbaccess/source/ui/inc/JoinTableView.hxx +++ b/dbaccess/source/ui/inc/JoinTableView.hxx @@ -131,7 +131,7 @@ namespace dbaui void BeginChildMove( OTableWindow* pTabWin, const Point& rMousePos ); void BeginChildSizing( OTableWindow* pTabWin, const Pointer& rPointer ); - void NotifyTitleClicked( OTableWindow* pTabWin, const Point rMousePos ); + void NotifyTitleClicked( OTableWindow* pTabWin, const Point& rMousePos ); virtual void AddTabWin(const OUString& _rComposedName, const OUString& rWinName, bool bNewTable = false); virtual void RemoveTabWin( OTableWindow* pTabWin ); diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 1b2bc5110cd2..6f3c5950ed2d 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -614,7 +614,7 @@ void OJoinTableView::BeginChildMove( OTableWindow* pTabWin, const Point& rMouseP StartTracking(); } -void OJoinTableView::NotifyTitleClicked( OTableWindow* pTabWin, const Point rMousePos ) +void OJoinTableView::NotifyTitleClicked( OTableWindow* pTabWin, const Point& rMousePos ) { DeselectConn(GetSelectedConn()); BeginChildMove(pTabWin, rMousePos); diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index e7ad4f93f21f..5a676d190922 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -671,10 +671,10 @@ Reference< XPropertySet > CopyTableWizard::impl_ensureDataAccessDescriptor_throw namespace { bool lcl_hasNonEmptyStringValue_throw( const Reference< XPropertySet >& _rxDescriptor, - const Reference< XPropertySetInfo > _rxPSI, const OUString& _rPropertyName ) + const Reference< XPropertySetInfo >& rxPSI, const OUString& _rPropertyName ) { OUString sValue; - if ( _rxPSI->hasPropertyByName( _rPropertyName ) ) + if ( rxPSI->hasPropertyByName( _rPropertyName ) ) { OSL_VERIFY( _rxDescriptor->getPropertyValue( _rPropertyName ) >>= sValue ); } |