[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Mon Mar 7 21:45:43 UTC 2016
connectivity/source/drivers/macab/MacabPreparedStatement.cxx | 2 +-
connectivity/source/drivers/macab/MacabResultSetMetaData.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 92dc6a29970731f0b30e434c362897b0a0afc61f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Mar 7 22:45:19 2016 +0100
loplugin:defaultparams
Change-Id: Ibc922d84aeaba4e2dbfac3a23f253db76408db45
diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.cxx b/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
index d74059f..8f65242 100644
--- a/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
@@ -40,7 +40,7 @@ void MacabPreparedStatement::checkAndResizeParameters(sal_Int32 nParams) throw(S
m_aParameterRow = new OValueVector();
if (nParams < 1)
- ::dbtools::throwInvalidIndexException(*this, Any());
+ ::dbtools::throwInvalidIndexException(*this);
if (nParams >= (sal_Int32) (m_aParameterRow->get()).size())
(m_aParameterRow->get()).resize(nParams);
diff --git a/connectivity/source/drivers/macab/MacabResultSetMetaData.cxx b/connectivity/source/drivers/macab/MacabResultSetMetaData.cxx
index af82c34..abcb0ce 100644
--- a/connectivity/source/drivers/macab/MacabResultSetMetaData.cxx
+++ b/connectivity/source/drivers/macab/MacabResultSetMetaData.cxx
@@ -95,7 +95,7 @@ sal_Int32 SAL_CALL MacabResultSetMetaData::getColumnType(sal_Int32 column) throw
if(aField == nullptr)
{
- ::dbtools::throwInvalidIndexException(*this,Any());
+ ::dbtools::throwInvalidIndexException(*this);
return -1;
}
More information about the Libreoffice-commits
mailing list