diff options
-rw-r--r-- | connectivity/source/drivers/macab/MacabPreparedStatement.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.cxx b/connectivity/source/drivers/macab/MacabPreparedStatement.cxx index 7874e3af40f3..549d94d3d863 100644 --- a/connectivity/source/drivers/macab/MacabPreparedStatement.cxx +++ b/connectivity/source/drivers/macab/MacabPreparedStatement.cxx @@ -42,8 +42,8 @@ void MacabPreparedStatement::checkAndResizeParameters(sal_Int32 nParams) if (nParams < 1) ::dbtools::throwInvalidIndexException(*this); - if (nParams >= (sal_Int32) (m_aParameterRow->get()).size()) - (m_aParameterRow->get()).resize(nParams); + if (nParams >= (sal_Int32) m_aParameterRow->get().size()) + m_aParameterRow->get().resize(nParams); } void MacabPreparedStatement::setMacabFields() const @@ -69,7 +69,7 @@ void MacabPreparedStatement::resetParameters() const void MacabPreparedStatement::getNextParameter(OUString &rParameter) const { - if (m_nParameterIndex >= (sal_Int32) (m_aParameterRow->get()).size()) + if (m_nParameterIndex >= (sal_Int32) m_aParameterRow->get().size()) { ::connectivity::SharedResources aResources; const OUString sError( aResources.getResourceString( |