From c123c528bf1550e544b29e5a22a94a0452d5f349 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Nov 2016 08:13:11 +0200 Subject: loplugin:unnecessaryvirtual in comphelper..forms Change-Id: Iabe292e68cb84b97f207061347ed6a30309dc9fd Reviewed-on: https://gerrit.libreoffice.org/30679 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/container/enumerablemap.cxx | 4 ++-- comphelper/source/property/propertysetinfo.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx index 4c9940d110ac..1dc23292d1e7 100644 --- a/comphelper/source/container/enumerablemap.cxx +++ b/comphelper/source/container/enumerablemap.cxx @@ -208,7 +208,7 @@ namespace comphelper }; - class MapEnumerator + class MapEnumerator final { public: MapEnumerator( ::cppu::OWeakObject& _rParent, MapData& _mapData, const EnumerationType _type ) @@ -221,7 +221,7 @@ namespace comphelper lcl_registerMapModificationListener( m_rMapData, *this ); } - virtual ~MapEnumerator() + ~MapEnumerator() { dispose(); } diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx index 9c1e8097f04e..93293362a8ba 100644 --- a/comphelper/source/property/propertysetinfo.cxx +++ b/comphelper/source/property/propertysetinfo.cxx @@ -31,11 +31,11 @@ using namespace ::com::sun::star::lang; namespace comphelper { -class PropertyMapImpl +class PropertyMapImpl final { public: PropertyMapImpl() throw(); - virtual ~PropertyMapImpl() throw(); + ~PropertyMapImpl() throw(); void add(PropertyMapEntry const * pMap) throw(); void remove( const OUString& aName ) throw(); -- cgit