summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:42:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 09:39:55 +0000
commit41ea741cd843776cd600d33b28a7f0e35345e0d0 (patch)
tree9a4cc7717b190a99d0791c77205d4dd95c77691a /sfx2
parent028cc38a164493c5049d152eae38a34218428fce (diff)
loplugin:unnecessaryvirtual in sfx2..svtools
Change-Id: Ib34e14806f7cc9a97ecfd68687ab17ee5c1f022b Reviewed-on: https://gerrit.libreoffice.org/30652 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/fltlst.hxx4
-rw-r--r--sfx2/source/inc/workwin.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/bastyp/fltlst.hxx b/sfx2/source/bastyp/fltlst.hxx
index 8bb2affd6eae..656637ddaf7e 100644
--- a/sfx2/source/bastyp/fltlst.hxx
+++ b/sfx2/source/bastyp/fltlst.hxx
@@ -29,7 +29,7 @@
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
-class SfxFilterListener
+class SfxFilterListener final
{
private:
css::uno::Reference< css::util::XRefreshable > m_xFilterCache;
@@ -37,7 +37,7 @@ class SfxFilterListener
public:
SfxFilterListener();
- virtual ~SfxFilterListener();
+ ~SfxFilterListener();
public:
// XRefreshListener
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index d0fe42d5c8c4..e190516d0505 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -187,7 +187,7 @@ class LayoutManagerListener : public ::cppu::WeakImplHelper<
OUString m_aLayoutManagerPropName;
};
-class SfxWorkWindow
+class SfxWorkWindow final
{
friend class LayoutManagerListener;
@@ -238,7 +238,7 @@ protected:
public:
SfxWorkWindow( vcl::Window* pWin, SfxFrame* pFrm, SfxFrame* pMaster );
- virtual ~SfxWorkWindow();
+ ~SfxWorkWindow();
SfxBindings& GetBindings()
{ return *pBindings; }
vcl::Window* GetWindow() const