summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-31 12:07:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-31 12:14:39 +0200
commitdc3fc59fbaf4bd7c903c076f81071ea071d1b19c (patch)
treeb4ee7cfd60a25bafde4bf330a11681aa37e118ed /connectivity/source/drivers
parent00b101bb6ce0e5eb56b4f9490849de15aeba6b63 (diff)
loplugin:constparams: connectivity (clang-cl)
Change-Id: I6dc7939f42aa1d1d62f8c71f5a5529becdffa704
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r--connectivity/source/drivers/ado/APreparedStatement.cxx2
-rw-r--r--connectivity/source/drivers/ado/Awrapado.cxx4
2 files changed, 3 insertions, 3 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);