summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 08:13:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 06:57:57 +0000
commitc123c528bf1550e544b29e5a22a94a0452d5f349 (patch)
tree2dd015a5fe42b6c9b95302016674f3362478d295 /connectivity
parent62e5010e5df379a26aa85ca9fd58bf872f020c36 (diff)
loplugin:unnecessaryvirtual in comphelper..forms
Change-Id: Iabe292e68cb84b97f207061347ed6a30309dc9fd Reviewed-on: https://gerrit.libreoffice.org/30679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MQueryHelper.hxx4
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx5
-rw-r--r--connectivity/source/inc/dbase/DIndexIter.hxx4
-rw-r--r--connectivity/source/inc/file/fanalyzer.hxx4
4 files changed, 8 insertions, 9 deletions
diff --git a/connectivity/source/drivers/mork/MQueryHelper.hxx b/connectivity/source/drivers/mork/MQueryHelper.hxx
index 2fffac10fcd3..1871b4591e77 100644
--- a/connectivity/source/drivers/mork/MQueryHelper.hxx
+++ b/connectivity/source/drivers/mork/MQueryHelper.hxx
@@ -159,7 +159,7 @@ namespace connectivity
void setValue( const OString &key, const OUString & rValue);
};
- class MQueryHelper
+ class MQueryHelper final
{
private:
typedef std::vector< MQueryHelperResultEntry* > resultsArray;
@@ -174,7 +174,7 @@ namespace connectivity
public:
explicit MQueryHelper(const OColumnAlias& _ca);
- virtual ~MQueryHelper();
+ ~MQueryHelper();
void reset();
MQueryHelperResultEntry* getByIndex( sal_uInt32 nRow );
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx
index d2eed6c7c67a..aabcc49d2d32 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx
@@ -65,11 +65,10 @@ namespace connectivity
};
//Used to query profiles information
- class ProfileAccess
+ class ProfileAccess final
{
public:
-
- virtual ~ProfileAccess();
+ ~ProfileAccess();
ProfileAccess();
OUString getProfilePath( css::mozilla::MozillaProductType product, const OUString& profileName ) throw (css::uno::RuntimeException);
::sal_Int32 getProfileCount( css::mozilla::MozillaProductType product ) throw (css::uno::RuntimeException);
diff --git a/connectivity/source/inc/dbase/DIndexIter.hxx b/connectivity/source/inc/dbase/DIndexIter.hxx
index 55305bf3c74a..349182813444 100644
--- a/connectivity/source/inc/dbase/DIndexIter.hxx
+++ b/connectivity/source/inc/dbase/DIndexIter.hxx
@@ -31,7 +31,7 @@ namespace connectivity
// IndexIterator
- class OIndexIterator
+ class OIndexIterator final
{
protected:
file::OBoolOperator* m_pOperator;
@@ -60,7 +60,7 @@ namespace connectivity
{
}
- virtual ~OIndexIterator();
+ ~OIndexIterator();
sal_uInt32 First();
sal_uInt32 Next();
diff --git a/connectivity/source/inc/file/fanalyzer.hxx b/connectivity/source/inc/file/fanalyzer.hxx
index d719b246d117..1eee9ed9ffd1 100644
--- a/connectivity/source/inc/file/fanalyzer.hxx
+++ b/connectivity/source/inc/file/fanalyzer.hxx
@@ -28,7 +28,7 @@ namespace connectivity
namespace file
{
class OConnection;
- class OOO_DLLPUBLIC_FILE OSQLAnalyzer
+ class OOO_DLLPUBLIC_FILE OSQLAnalyzer final
{
typedef ::std::list<OEvaluateSet*> OEvaluateSetList;
typedef ::std::pair< ::rtl::Reference<OPredicateCompiler>,::rtl::Reference<OPredicateInterpreter> > TPredicates;
@@ -45,7 +45,7 @@ namespace connectivity
public:
OSQLAnalyzer(OConnection* _pConnection);
- virtual ~OSQLAnalyzer();
+ ~OSQLAnalyzer();
inline static void * SAL_CALL operator new( size_t nSize )
{ return ::rtl_allocateMemory( nSize ); }
inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint )