summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-10 08:14:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-10 08:39:13 +0000
commit044260331d61e97281539d8dfdcbb64089751437 (patch)
tree09c6c2f4c9796d6000f11c4778d8f85c3be64911 /vcl/workben
parent06dec56d96603026921311c6ddfa41ed6b5879d5 (diff)
loplugin:unnecessaryoverride in vcl
Change-Id: I8a49316dccdc142389d2f7121ff7c8cbbad55638 Reviewed-on: https://gerrit.libreoffice.org/29655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/svdem.cxx43
-rw-r--r--vcl/workben/svpclient.cxx42
-rw-r--r--vcl/workben/svptest.cxx36
3 files changed, 0 insertions, 121 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index d52c745c9168..64960323596e 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -74,14 +74,6 @@ class MyWin : public WorkWindow
{
public:
MyWin( vcl::Window* pParent, WinBits nWinStyle );
-
- void MouseMove( const MouseEvent& rMEvt ) override;
- void MouseButtonDown( const MouseEvent& rMEvt ) override;
- void MouseButtonUp( const MouseEvent& rMEvt ) override;
- void KeyInput( const KeyEvent& rKEvt ) override;
- void KeyUp( const KeyEvent& rKEvt ) override;
- void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) override;
- void Resize() override;
};
void Main()
@@ -98,39 +90,4 @@ MyWin::MyWin( vcl::Window* pParent, WinBits nWinStyle ) :
{
}
-void MyWin::MouseMove( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseMove( rMEvt );
-}
-
-void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonDown( rMEvt );
-}
-
-void MyWin::MouseButtonUp( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonUp( rMEvt );
-}
-
-void MyWin::KeyInput( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyInput( rKEvt );
-}
-
-void MyWin::KeyUp( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyUp( rKEvt );
-}
-
-void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
-{
- WorkWindow::Paint(rRenderContext, rRect);
-}
-
-void MyWin::Resize()
-{
- WorkWindow::Resize();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index c3db7ecb45a0..0a573445cf7e 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -99,14 +99,6 @@ class MyWin : public WorkWindow
public:
MyWin( vcl::Window* pParent, WinBits nWinStyle );
- virtual void MouseMove( const MouseEvent& rMEvt ) override;
- virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
- virtual void MouseButtonUp( const MouseEvent& rMEvt ) override;
- virtual void KeyInput( const KeyEvent& rKEvt ) override;
- virtual void KeyUp( const KeyEvent& rKEvt ) override;
- virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) override;
- virtual void Resize() override;
-
virtual bool Close() override;
virtual ~MyWin() override { disposeOnce(); }
virtual void dispose() override;
@@ -284,39 +276,5 @@ IMPL_LINK_NOARG( MyWin, SelectHdl, ListBox&, void)
}
}
-void MyWin::MouseMove( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseMove( rMEvt );
-}
-
-void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonDown( rMEvt );
-}
-
-void MyWin::MouseButtonUp( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonUp( rMEvt );
-}
-
-void MyWin::KeyInput( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyInput( rKEvt );
-}
-
-void MyWin::KeyUp( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyUp( rKEvt );
-}
-
-void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
-{
- WorkWindow::Paint(rRenderContext, rRect);
-}
-
-void MyWin::Resize()
-{
- WorkWindow::Resize();
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 71a7fc84dd8e..24ff69d988ed 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -85,13 +85,7 @@ class MyWin : public WorkWindow
public:
MyWin( vcl::Window* pParent, WinBits nWinStyle );
- virtual void MouseMove( const MouseEvent& rMEvt ) override;
- virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
- virtual void MouseButtonUp( const MouseEvent& rMEvt ) override;
- virtual void KeyInput( const KeyEvent& rKEvt ) override;
- virtual void KeyUp( const KeyEvent& rKEvt ) override;
virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) override;
- virtual void Resize() override;
};
void Main()
@@ -128,31 +122,6 @@ MyWin::MyWin( vcl::Window* pParent, WinBits nWinStyle ) :
Bitmap::ReleaseAccess( pAcc );
}
-void MyWin::MouseMove( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseMove( rMEvt );
-}
-
-void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonDown( rMEvt );
-}
-
-void MyWin::MouseButtonUp( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonUp( rMEvt );
-}
-
-void MyWin::KeyInput( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyInput( rKEvt );
-}
-
-void MyWin::KeyUp( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyUp( rKEvt );
-}
-
static Point project( const Point& rPoint )
{
const double angle_x = M_PI / 6.0;
@@ -352,9 +321,4 @@ void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
rRenderContext.Pop();
}
-void MyWin::Resize()
-{
- WorkWindow::Resize();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */