diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 12:26:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 14:23:39 +0200 |
commit | 56be2245bf11ddb64fcfbf8175a864d688ac5c1a (patch) | |
tree | 567e7e061a2d1caf653fd44cc02e9c26512cb230 /dbaccess/source/ui/misc/UITools.cxx | |
parent | 2702c2d1eb9af2d03d5e0a1b7704ab170a5e8d31 (diff) |
loplugin:constparams in dbaccess
Change-Id: I4994c4f0ae614c8f98466f440412f28380ddd6a6
Reviewed-on: https://gerrit.libreoffice.org/40589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/UITools.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index 1458bb93a853..5e3ffe421962 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -134,7 +134,7 @@ using ::com::sun::star::ucb::IOErrorCode_NOT_EXISTING; SQLExceptionInfo createConnection( const OUString& _rsDataSourceName, const Reference< css::container::XNameAccess >& _xDatabaseContext, const Reference< css::uno::XComponentContext >& _rxContext, - Reference< css::lang::XEventListener>& _rEvtLst, + Reference< css::lang::XEventListener> const & _rEvtLst, Reference< css::sdbc::XConnection>& _rOUTConnection ) { Reference<XPropertySet> xProp; @@ -152,7 +152,7 @@ SQLExceptionInfo createConnection( const OUString& _rsDataSourceName, SQLExceptionInfo createConnection( const Reference< css::beans::XPropertySet>& _xDataSource, const Reference< css::uno::XComponentContext >& _rxContext, - Reference< css::lang::XEventListener>& _rEvtLst, + Reference< css::lang::XEventListener> const & _rEvtLst, Reference< css::sdbc::XConnection>& _rOUTConnection ) { SQLExceptionInfo aInfo; @@ -951,7 +951,7 @@ bool appendToFilter(const Reference<XConnection>& _xConnection, return bRet; } -void notifySystemWindow(vcl::Window* _pWindow, vcl::Window* _pToRegister, const ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*>& _rMemFunc) +void notifySystemWindow(vcl::Window const * _pWindow, vcl::Window* _pToRegister, const ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*>& _rMemFunc) { OSL_ENSURE(_pWindow,"Window can not be null!"); SystemWindow* pSystemWindow = _pWindow ? _pWindow->GetSystemWindow() : nullptr; @@ -1083,7 +1083,7 @@ OUString getStrippedDatabaseName(const Reference<XPropertySet>& _xDataSource,OUS return sName; } -void setEvalDateFormatForFormatter(Reference< css::util::XNumberFormatter >& _rxFormatter) +void setEvalDateFormatForFormatter(Reference< css::util::XNumberFormatter > const & _rxFormatter) { OSL_ENSURE( _rxFormatter.is(),"setEvalDateFormatForFormatter: Formatter is NULL!"); if ( _rxFormatter.is() ) |