summaryrefslogtreecommitdiff
path: root/framework/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 15:49:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 06:11:28 +0000
commit525a45f22f591d8046ca95af3073ed27fd283ef0 (patch)
treed06550b02fdc6d33c5df7c5aa7b223a7df7ae328 /framework/source/inc
parent990102be61a47a14a73a25ee320ac1033250777e (diff)
loplugin:unnecessaryvirtual in framework
Change-Id: I893bf955e45e661e3ec440dbd530fca22931c23b Reviewed-on: https://gerrit.libreoffice.org/30666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/inc')
-rw-r--r--framework/source/inc/accelerators/storageholder.hxx4
-rw-r--r--framework/source/inc/dispatch/windowcommanddispatch.hxx4
-rw-r--r--framework/source/inc/loadenv/actionlockguard.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/inc/accelerators/storageholder.hxx b/framework/source/inc/accelerators/storageholder.hxx
index ce87fb8f165f..0e5eb0c39dac 100644
--- a/framework/source/inc/accelerators/storageholder.hxx
+++ b/framework/source/inc/accelerators/storageholder.hxx
@@ -32,7 +32,7 @@ class XMLBasedAcceleratorConfiguration;
/**
TODO document me
*/
-class StorageHolder
+class StorageHolder final
{
// types
@@ -79,7 +79,7 @@ class StorageHolder
/** @short TODO
*/
- virtual ~StorageHolder();
+ ~StorageHolder();
/** @short TODO
*/
diff --git a/framework/source/inc/dispatch/windowcommanddispatch.hxx b/framework/source/inc/dispatch/windowcommanddispatch.hxx
index d00c893f613b..c9cca2c40d90 100644
--- a/framework/source/inc/dispatch/windowcommanddispatch.hxx
+++ b/framework/source/inc/dispatch/windowcommanddispatch.hxx
@@ -46,7 +46,7 @@ namespace framework{
scenarios. On the other side VCL does not hold us alive (because it doesn't know our UNO reference).
So we register at the VCL level as an event listener and
*/
-class WindowCommandDispatch
+class WindowCommandDispatch final
{
private:
osl::Mutex m_mutex;
@@ -81,7 +81,7 @@ class WindowCommandDispatch
/** @short used to free internal resources.
*/
- virtual ~WindowCommandDispatch();
+ ~WindowCommandDispatch();
// implementation
diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx
index 2448b339e01f..417d2d4ed47f 100644
--- a/framework/source/inc/loadenv/actionlockguard.hxx
+++ b/framework/source/inc/loadenv/actionlockguard.hxx
@@ -31,7 +31,7 @@ namespace framework{
@descr This guard should be used to be sure, that any lock will be
released. Otherwise the locked document can hinder the office on shutdown!
*/
-class ActionLockGuard
+class ActionLockGuard final
{
// member
@@ -64,7 +64,7 @@ class ActionLockGuard
/** @short release this guard instance and make sure, that no lock
will exist afterwards on the internal wrapped resource.
*/
- virtual ~ActionLockGuard()
+ ~ActionLockGuard()
{
unlock();
}