summaryrefslogtreecommitdiff
path: root/comphelper
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 /comphelper
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 'comphelper')
-rw-r--r--comphelper/source/container/enumerablemap.cxx4
-rw-r--r--comphelper/source/property/propertysetinfo.cxx4
2 files changed, 4 insertions, 4 deletions
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();