[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Tue Dec 5 15:15:59 UTC 2017
connectivity/source/drivers/macab/MacabPreparedStatement.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e073ec4e1854990a9c04bccc9d11adbad2ffcfca
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Dec 5 10:38:30 2017 +0100
loplugin:unnecessaryparen
Change-Id: Ib9eeb7d224b20622bafd96e123feb5aa97abac28
Reviewed-on: https://gerrit.libreoffice.org/45858
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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(
More information about the Libreoffice-commits
mailing list