diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 15:51:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-25 09:19:59 +0200 |
commit | a8520074425cd0b05ea54af4e189caafca634655 (patch) | |
tree | 8360b25d613a133b73c47194f3a5cecdbaa8c38d /connectivity | |
parent | d90ec5d26f1e9ff6afe7544cff8413d105d4d439 (diff) |
loplugin:unusedmethods
Change-Id: I1f9ac5f8a090f365d9a21486029e1c13d721a4a4
Reviewed-on: https://gerrit.libreoffice.org/62338
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mork/MQueryHelper.cxx | 7 | ||||
-rw-r--r-- | connectivity/source/drivers/mork/MQueryHelper.hxx | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/connectivity/source/drivers/mork/MQueryHelper.cxx b/connectivity/source/drivers/mork/MQueryHelper.cxx index 7f0d4ae08d52..6998df5e98fa 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.cxx +++ b/connectivity/source/drivers/mork/MQueryHelper.cxx @@ -124,13 +124,6 @@ sal_Int32 MQueryHelper::getResultCount() const return result; } - -bool MQueryHelper::checkRowAvailable( sal_Int32 nDBRow ) -{ - return getResultCount() > nDBRow; -} - - bool MQueryHelper::getRowValue( ORowSetValue& rValue, sal_Int32 nDBRow,const OUString& aDBColumnName, sal_Int32 nType ) { MQueryHelperResultEntry* pResEntry = getByIndex( nDBRow ); diff --git a/connectivity/source/drivers/mork/MQueryHelper.hxx b/connectivity/source/drivers/mork/MQueryHelper.hxx index 0aabc5aed26f..92c27f2135cb 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.hxx +++ b/connectivity/source/drivers/mork/MQueryHelper.hxx @@ -168,7 +168,6 @@ namespace connectivity void reset(); MQueryHelperResultEntry* getByIndex( sal_uInt32 nRow ); sal_Int32 getResultCount() const; - bool checkRowAvailable( sal_Int32 nDBRow ); bool getRowValue( ORowSetValue& rValue, sal_Int32 nDBRow,const OUString& aDBColumnName, sal_Int32 nType ); sal_Int32 executeQuery(OConnection* xConnection, MQueryExpression & expr); const OColumnAlias& getColumnAlias() const { return m_rColumnAlias; } |