diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-14 14:04:41 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-15 07:45:23 +0000 |
commit | 82da70787ac12ec9d5791eeac6b48535737ad5b3 (patch) | |
tree | 7fd1a4cdbfcdb83549a294b39d0c918f467c6f55 /include/connectivity | |
parent | 880e3af2b502ca4f5a1f34ad9d98b9a26dc091ed (diff) |
loplugin:unusedmethods connectivity
Change-Id: Ie9f3daa49b02dddc7b56d1f5fb58a229f53d4513
Reviewed-on: https://gerrit.libreoffice.org/17043
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/FValue.hxx | 1 | ||||
-rw-r--r-- | include/connectivity/TKeys.hxx | 1 | ||||
-rw-r--r-- | include/connectivity/dbexception.hxx | 4 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VCollection.hxx | 9 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VDescriptor.hxx | 1 |
5 files changed, 0 insertions, 16 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx index 658e3394fd94..ebb228cfa7a2 100644 --- a/include/connectivity/FValue.hxx +++ b/include/connectivity/FValue.hxx @@ -387,7 +387,6 @@ namespace connectivity void setTypeKind(sal_Int32 _eType); // before calling one of this methods, be sure that the value is not null - void* getValue() const { OSL_ENSURE(m_bBound,"Value is not bound!");return m_aValue.m_pValue; } bool getBool() const; sal_Int8 getInt8() const; diff --git a/include/connectivity/TKeys.hxx b/include/connectivity/TKeys.hxx index 0930ade12549..e70a1833468a 100644 --- a/include/connectivity/TKeys.hxx +++ b/include/connectivity/TKeys.hxx @@ -45,7 +45,6 @@ namespace connectivity ::osl::Mutex& _rMutex, const TStringVector& _rVector ); - inline OTableHelper* getTable() const { return m_pTable; } static void cloneDescriptorColumns( const sdbcx::ObjectType& _rSourceDescriptor, diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx index c93371618344..5afd23aaa62c 100644 --- a/include/connectivity/dbexception.hxx +++ b/include/connectivity/dbexception.hxx @@ -179,10 +179,6 @@ public: */ bool hasMoreElements() const { return ( m_pCurrent != NULL ); } - /** returns the type of the current element in the exception chain - */ - SQLExceptionInfo::TYPE currentType() const { return m_eCurrentType; } - /** retrieves the current element in the chain, or <NULL/> if the chain has been completely traveled. */ diff --git a/include/connectivity/sdbcx/VCollection.hxx b/include/connectivity/sdbcx/VCollection.hxx index 06a68f065a8c..b056ddd92459 100644 --- a/include/connectivity/sdbcx/VCollection.hxx +++ b/include/connectivity/sdbcx/VCollection.hxx @@ -64,7 +64,6 @@ namespace connectivity { public: virtual ~IObjectCollection(); - virtual void reserve(size_t nLength) = 0; virtual bool exists(const OUString& _sName ) = 0; virtual bool empty() = 0; virtual void swapAll() = 0; @@ -161,14 +160,6 @@ namespace connectivity */ void insertElement(const OUString& _sElementName,const ObjectType& _xElement); - /** return the name of element at index _nIndex - */ - inline OUString getElementName(sal_Int32 _nIndex) - { - return m_pElements->findColumnAtIndex(_nIndex); - } - - /** return the object, if not existent it creates it. @param _nIndex The index of the object to create. diff --git a/include/connectivity/sdbcx/VDescriptor.hxx b/include/connectivity/sdbcx/VDescriptor.hxx index 4c5ae155580d..3902e818cb06 100644 --- a/include/connectivity/sdbcx/VDescriptor.hxx +++ b/include/connectivity/sdbcx/VDescriptor.hxx @@ -62,7 +62,6 @@ namespace connectivity virtual ~ODescriptor(); bool isNew() const { return m_bNew; } - bool getNew() const { return m_bNew; } void setNew(bool _bNew); bool isCaseSensitive() const { return m_aCase.isCaseSensitive(); } |