summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-02 16:15:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-08 06:08:14 +0000
commitb14224fe97b8a44232c9c1401d3a49771f46582e (patch)
tree8f9cf31cf4b51a0edbb43022499a6acd17d0945d /include/connectivity
parentc474e610e453d0f38f7cc6cb9559ad7e7b5d69ca (diff)
loplugin:unusedmethods
using an idea from dtardon: <dtardon> noelgrandin, hi. could you try to run the unusedmethods clang plugin with "make build-nocheck"? that would catch functions that are only used in tests. e.g., i just removed the whole o3tl::range class, which has not been used in many years, but htere was a test for it... <noelgrandin> dtardon, interesting idea! Sure, I can do that. Change-Id: I5653953a426a2186a1e43017212d87ffce520387 Reviewed-on: https://gerrit.libreoffice.org/22041 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/dbcharset.hxx4
-rw-r--r--include/connectivity/dbexception.hxx1
-rw-r--r--include/connectivity/sdbcx/VDescriptor.hxx6
3 files changed, 0 insertions, 11 deletions
diff --git a/include/connectivity/dbcharset.hxx b/include/connectivity/dbcharset.hxx
index 66044f76d0ff..e93a59dd2acf 100644
--- a/include/connectivity/dbcharset.hxx
+++ b/include/connectivity/dbcharset.hxx
@@ -141,13 +141,9 @@ namespace dbtools
/// prefix increment
const CharsetIterator& operator++();
- /// postfix increment
- const CharsetIterator operator++(int) { CharsetIterator hold(*this); ++*this; return hold; }
/// prefix decrement
const CharsetIterator& operator--();
- /// postfix decrement
- const CharsetIterator operator--(int) { CharsetIterator hold(*this); --*this; return hold; }
protected:
CharsetIterator(const OCharsetMap* _pContainer, OCharsetMap::TextEncBag::const_iterator _aPos );
diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx
index 6e7cb972e16b..a67aa9d871f9 100644
--- a/include/connectivity/dbexception.hxx
+++ b/include/connectivity/dbexception.hxx
@@ -133,7 +133,6 @@ public:
TYPE getType() const { return m_eType; }
operator const css::sdbc::SQLException* () const;
- operator const css::sdbc::SQLWarning* () const;
operator const css::sdb::SQLContext* () const;
const css::uno::Any& get() const { return m_aContent; }
diff --git a/include/connectivity/sdbcx/VDescriptor.hxx b/include/connectivity/sdbcx/VDescriptor.hxx
index fa9fa3190f3f..6aff71c61e5a 100644
--- a/include/connectivity/sdbcx/VDescriptor.hxx
+++ b/include/connectivity/sdbcx/VDescriptor.hxx
@@ -72,12 +72,6 @@ namespace connectivity
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw(css::uno::RuntimeException, std::exception);
- // compare
- inline bool operator == ( const OUString & _rRH )
- {
- return m_aCase(m_Name,_rRH);
- }
-
// css::lang::XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override;
static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();