diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-31 12:07:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-31 12:14:39 +0200 |
commit | dc3fc59fbaf4bd7c903c076f81071ea071d1b19c (patch) | |
tree | b4ee7cfd60a25bafde4bf330a11681aa37e118ed /connectivity | |
parent | 00b101bb6ce0e5eb56b4f9490849de15aeba6b63 (diff) |
loplugin:constparams: connectivity (clang-cl)
Change-Id: I6dc7939f42aa1d1d62f8c71f5a5529becdffa704
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/ado/APreparedStatement.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/Awrapado.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/ado/APreparedStatement.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/ado/AViews.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/ado/Awrapado.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/ado/Awrapadox.hxx | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index 497a721de03d..00aa9b072519 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -436,7 +436,7 @@ void SAL_CALL OPreparedStatement::release() throw() OStatement_Base::release(); } -void OPreparedStatement::replaceParameterNodeName(OSQLParseNode* _pNode, +void OPreparedStatement::replaceParameterNodeName(OSQLParseNode const * _pNode, const OUString& _sDefaultName, sal_Int32& _rParameterCount) { diff --git a/connectivity/source/drivers/ado/Awrapado.cxx b/connectivity/source/drivers/ado/Awrapado.cxx index 53275c04a7a0..75d1b6a3ae11 100644 --- a/connectivity/source/drivers/ado/Awrapado.cxx +++ b/connectivity/source/drivers/ado/Awrapado.cxx @@ -237,7 +237,7 @@ sal_Int32 WpADOConnection::get_State() const return nRet; } -bool WpADOConnection::OpenSchema(SchemaEnum eNum,OLEVariant& Restrictions,OLEVariant& SchemaID,ADORecordset**pprset) +bool WpADOConnection::OpenSchema(SchemaEnum eNum,OLEVariant const & Restrictions,OLEVariant const & SchemaID,ADORecordset**pprset) { assert(pInterface); return SUCCEEDED(pInterface->OpenSchema(eNum,Restrictions,SchemaID,pprset)); @@ -1424,7 +1424,7 @@ void WpADOView::get_Command(OLEVariant& _rVar) const pInterface->get_Command(&_rVar); } -void WpADOView::put_Command(OLEVariant& _rVar) +void WpADOView::put_Command(OLEVariant const & _rVar) { assert(pInterface); pInterface->put_Command(_rVar); diff --git a/connectivity/source/inc/ado/APreparedStatement.hxx b/connectivity/source/inc/ado/APreparedStatement.hxx index 792ba22fb964..818d149c1ad1 100644 --- a/connectivity/source/inc/ado/APreparedStatement.hxx +++ b/connectivity/source/inc/ado/APreparedStatement.hxx @@ -46,7 +46,7 @@ namespace connectivity /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException void setParameter(sal_Int32 parameterIndex, const DataTypeEnum& _eType, sal_Int32 _nSize,const OLEVariant& Val); - void replaceParameterNodeName( OSQLParseNode* _pNode, + void replaceParameterNodeName( OSQLParseNode const * _pNode, const OUString& _sDefaultName, sal_Int32& _nParameterCount); protected: diff --git a/connectivity/source/inc/ado/AViews.hxx b/connectivity/source/inc/ado/AViews.hxx index d18b9df24e55..2e0b3379a308 100644 --- a/connectivity/source/inc/ado/AViews.hxx +++ b/connectivity/source/inc/ado/AViews.hxx @@ -43,7 +43,7 @@ namespace connectivity public: OViews(OCatalog* _pParent, ::osl::Mutex& _rMutex, const TStringVector &_rVector, - WpADOViews& _rCollection,bool _bCase) : sdbcx::OCollection(*_pParent,_bCase,_rMutex,_rVector) + WpADOViews const & _rCollection,bool _bCase) : sdbcx::OCollection(*_pParent,_bCase,_rMutex,_rVector) ,m_aCollection(_rCollection) ,m_pCatalog(_pParent) { diff --git a/connectivity/source/inc/ado/Awrapado.hxx b/connectivity/source/inc/ado/Awrapado.hxx index d1f8207d9fc8..b40ad4bd1be9 100644 --- a/connectivity/source/inc/ado/Awrapado.hxx +++ b/connectivity/source/inc/ado/Awrapado.hxx @@ -97,7 +97,7 @@ namespace connectivity sal_Int32 get_State() const; - bool OpenSchema(SchemaEnum eNum,OLEVariant& Restrictions,OLEVariant& SchemaID,ADORecordset**pprset); + bool OpenSchema(SchemaEnum eNum,OLEVariant const & Restrictions,OLEVariant const & SchemaID,ADORecordset**pprset); OUString get_Version() const; diff --git a/connectivity/source/inc/ado/Awrapadox.hxx b/connectivity/source/inc/ado/Awrapadox.hxx index 31e73a80fdc2..56acb92785f4 100644 --- a/connectivity/source/inc/ado/Awrapadox.hxx +++ b/connectivity/source/inc/ado/Awrapadox.hxx @@ -84,7 +84,7 @@ namespace connectivity OUString get_Name() const; void get_Command(OLEVariant& _rVar) const; - void put_Command(OLEVariant& _rVar); + void put_Command(OLEVariant const & _rVar); }; class WpADOGroup : public WpOLEBase<ADOGroup> |