diff options
Diffstat (limited to 'connectivity/source/drivers/mork')
-rw-r--r-- | connectivity/source/drivers/mork/MConnection.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mork/MDatabaseMetaData.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mork/MQueryHelper.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/mork/MConnection.hxx b/connectivity/source/drivers/mork/MConnection.hxx index 452b58b2d447..1a29491f5b36 100644 --- a/connectivity/source/drivers/mork/MConnection.hxx +++ b/connectivity/source/drivers/mork/MConnection.hxx @@ -98,7 +98,7 @@ namespace connectivity virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL clearWarnings() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - const OColumnAlias & getColumnAlias() const { return (m_aColumnAlias); } + const OColumnAlias & getColumnAlias() const { return m_aColumnAlias; } static OUString getDriverImplementationName(); diff --git a/connectivity/source/drivers/mork/MDatabaseMetaData.cxx b/connectivity/source/drivers/mork/MDatabaseMetaData.cxx index e472236a45c5..4a2c3eaec862 100644 --- a/connectivity/source/drivers/mork/MDatabaseMetaData.cxx +++ b/connectivity/source/drivers/mork/MDatabaseMetaData.cxx @@ -145,7 +145,7 @@ ODatabaseMetaDataResultSet::ORows& SAL_CALL ODatabaseMetaData::getColumnRows( } } } - return( aRows ); + return aRows; } OUString ODatabaseMetaData::impl_getCatalogSeparator_throw( ) diff --git a/connectivity/source/drivers/mork/MQueryHelper.cxx b/connectivity/source/drivers/mork/MQueryHelper.cxx index 610ef54264fa..6398466f7b49 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.cxx +++ b/connectivity/source/drivers/mork/MQueryHelper.cxx @@ -130,7 +130,7 @@ MQueryHelper::getByIndex(sal_uInt32 nRow) // Row numbers are from 1 to N, need to ensure this, and then // subtract 1 if ( nRow < 1 ) { - return( NULL ); + return NULL; } return m_aResults[nRow -1]; } @@ -156,11 +156,11 @@ bool MQueryHelper::checkRowAvailable( sal_Int32 nDBRow ) { if ( !m_aQueryHelper->waitForRow( nDBRow ) ) { m_aError = m_aQueryHelper->getError(); - return( sal_False ); + return sal_False; } } */ - return( getResultCount() > nDBRow ); + return getResultCount() > nDBRow; } |